v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include "elements.h"
#include "objects.h"
#include "contexts.h"
#include "conversions-inl.h"
#include "heap.h"
#include "isolate.h"
#include "property.h"
#include "spaces.h"
#include "store-buffer.h"
#include "v8memory.h"
#include "factory.h"
#include "incremental-marking.h"
Go to the source code of this file.
Namespaces | |
v8 | |
v8::internal | |
Macros | |
#define | TYPE_CHECKER(type, instancetype) |
#define | CAST_ACCESSOR(type) |
#define | INT_ACCESSORS(holder, name, offset) |
#define | ACCESSORS(holder, name, type, offset) |
#define | ACCESSORS_TO_SMI(holder, name, offset) |
#define | SMI_ACCESSORS(holder, name, offset) |
#define | BOOL_GETTER(holder, field, name, offset) |
#define | BOOL_ACCESSORS(holder, field, name, offset) |
#define | MAKE_STRUCT_CASE(NAME, Name, name) case NAME##_TYPE: return true; |
#define | MAKE_STRUCT_PREDICATE(NAME, Name, name) |
#define | FIELD_ADDR(p, offset) (reinterpret_cast<byte*>(p) + offset - kHeapObjectTag) |
#define | READ_FIELD(p, offset) (*reinterpret_cast<Object**>(FIELD_ADDR(p, offset))) |
#define | WRITE_FIELD(p, offset, value) (*reinterpret_cast<Object**>(FIELD_ADDR(p, offset)) = value) |
#define | WRITE_BARRIER(heap, object, offset, value) |
#define | CONDITIONAL_WRITE_BARRIER(heap, object, offset, value, mode) |
#define | READ_DOUBLE_FIELD(p, offset) (*reinterpret_cast<double*>(FIELD_ADDR(p, offset))) |
#define | WRITE_DOUBLE_FIELD(p, offset, value) (*reinterpret_cast<double*>(FIELD_ADDR(p, offset)) = value) |
#define | READ_INT_FIELD(p, offset) (*reinterpret_cast<int*>(FIELD_ADDR(p, offset))) |
#define | WRITE_INT_FIELD(p, offset, value) (*reinterpret_cast<int*>(FIELD_ADDR(p, offset)) = value) |
#define | READ_INTPTR_FIELD(p, offset) (*reinterpret_cast<intptr_t*>(FIELD_ADDR(p, offset))) |
#define | WRITE_INTPTR_FIELD(p, offset, value) (*reinterpret_cast<intptr_t*>(FIELD_ADDR(p, offset)) = value) |
#define | READ_UINT32_FIELD(p, offset) (*reinterpret_cast<uint32_t*>(FIELD_ADDR(p, offset))) |
#define | WRITE_UINT32_FIELD(p, offset, value) (*reinterpret_cast<uint32_t*>(FIELD_ADDR(p, offset)) = value) |
#define | READ_INT64_FIELD(p, offset) (*reinterpret_cast<int64_t*>(FIELD_ADDR(p, offset))) |
#define | WRITE_INT64_FIELD(p, offset, value) (*reinterpret_cast<int64_t*>(FIELD_ADDR(p, offset)) = value) |
#define | READ_SHORT_FIELD(p, offset) (*reinterpret_cast<uint16_t*>(FIELD_ADDR(p, offset))) |
#define | WRITE_SHORT_FIELD(p, offset, value) (*reinterpret_cast<uint16_t*>(FIELD_ADDR(p, offset)) = value) |
#define | READ_BYTE_FIELD(p, offset) (*reinterpret_cast<byte*>(FIELD_ADDR(p, offset))) |
#define | WRITE_BYTE_FIELD(p, offset, value) (*reinterpret_cast<byte*>(FIELD_ADDR(p, offset)) = value) |
#define | MAKE_STRUCT_CAST(NAME, Name, name) CAST_ACCESSOR(Name) |
#define | PSEUDO_SMI_ACCESSORS_LO(holder, name, offset) |
#define | PSEUDO_SMI_ACCESSORS_HI(holder, name, offset) |
#define | EXTERNAL_ELEMENTS_CHECK(name, type) |
#define | SLOT_ADDR(obj, offset) reinterpret_cast<Object**>((obj)->address() + offset) |
Functions | |
STATIC_CHECK ((kStringRepresentationMask|kStringEncodingMask)==Internals::kFullStringRepresentationMask) | |
STATIC_CHECK ((kExternalStringTag|kTwoByteStringTag)==Internals::kExternalTwoByteRepresentationTag) | |
template<> | |
bool | Is< JSFunction > (Object *obj) |
template<> | |
bool | Is< JSArray > (Object *obj) |
ACCESSORS (AccessorInfo, expected_receiver_type, Object, kExpectedReceiverTypeOffset) ACCESSORS(FunctionTemplateInfo | |
kPropertyAccessorsOffset | ACCESSORS (FunctionTemplateInfo, prototype_template, Object, kPrototypeTemplateOffset) ACCESSORS(FunctionTemplateInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset | ACCESSORS (FunctionTemplateInfo, indexed_property_handler, Object, kIndexedPropertyHandlerOffset) ACCESSORS(FunctionTemplateInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset | ACCESSORS (FunctionTemplateInfo, instance_call_handler, Object, kInstanceCallHandlerOffset) ACCESSORS(FunctionTemplateInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset | ACCESSORS (ObjectTemplateInfo, internal_field_count, Object, kInternalFieldCountOffset) ACCESSORS_TO_SMI(Script |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset | ACCESSORS (SharedFunctionInfo, instance_class_name, Object, kInstanceClassNameOffset) ACCESSORS(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset | BOOL_ACCESSORS (FunctionTemplateInfo, flag, hidden_prototype, kHiddenPrototypeBit) BOOL_ACCESSORS(FunctionTemplateInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit | BOOL_ACCESSORS (FunctionTemplateInfo, flag, read_only_prototype, kReadOnlyPrototypeBit) BOOL_ACCESSORS(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit kIsExpressionBit | BOOL_ACCESSORS (SharedFunctionInfo, start_position_and_type, is_toplevel, kIsTopLevelBit) BOOL_GETTER(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit kIsExpressionBit kHasOnlySimpleThisPropertyAssignments | BOOL_ACCESSORS (SharedFunctionInfo, compiler_hints, allows_lazy_compilation, kAllowLazyCompilation) BOOL_ACCESSORS(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit kIsExpressionBit kHasOnlySimpleThisPropertyAssignments kUsesArguments | BOOL_ACCESSORS (SharedFunctionInfo, compiler_hints, has_duplicate_parameters, kHasDuplicateParameters) PSEUDO_SMI_ACCESSORS_HI(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit kIsExpressionBit kHasOnlySimpleThisPropertyAssignments kUsesArguments kFormalParameterCountOffset | PSEUDO_SMI_ACCESSORS_LO (SharedFunctionInfo, expected_nof_properties, kExpectedNofPropertiesOffset) PSEUDO_SMI_ACCESSORS_HI(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit kIsExpressionBit kHasOnlySimpleThisPropertyAssignments kUsesArguments kFormalParameterCountOffset kStartPositionAndTypeOffset | PSEUDO_SMI_ACCESSORS_LO (SharedFunctionInfo, function_token_position, kFunctionTokenPositionOffset) PSEUDO_SMI_ACCESSORS_HI(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit kIsExpressionBit kHasOnlySimpleThisPropertyAssignments kUsesArguments kFormalParameterCountOffset kStartPositionAndTypeOffset kCompilerHintsOffset | PSEUDO_SMI_ACCESSORS_LO (SharedFunctionInfo, this_property_assignments_count, kThisPropertyAssignmentsCountOffset) PSEUDO_SMI_ACCESSORS_HI(SharedFunctionInfo |
BOOL_ACCESSORS (SharedFunctionInfo, compiler_hints, live_objects_may_exist, kLiveObjectsMayExist) bool SharedFunctionInfo | |
BOOL_GETTER (SharedFunctionInfo, compiler_hints, optimization_disabled, kOptimizationDisabled) void SharedFunctionInfo | |
BOOL_GETTER (SharedFunctionInfo, compiler_hints, is_extended_mode, kExtendedModeFunction) BOOL_ACCESSORS(SharedFunctionInfo | |
kNameShouldPrintAsAnonymous | BOOL_ACCESSORS (SharedFunctionInfo, compiler_hints, dont_optimize, kDontOptimize) bool Script |
ACCESSORS (JSFunction, prototype_or_initial_map, Object, kPrototypeOrInitialMapOffset) Map *JSFunction | |
EXTERNAL_ELEMENTS_CHECK (UnsignedShort, EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE) EXTERNAL_ELEMENTS_CHECK(UnsignedInt | |
EXTERNAL_UNSIGNED_INT_ARRAY_TYPE | EXTERNAL_ELEMENTS_CHECK (Float, EXTERNAL_FLOAT_ARRAY_TYPE) EXTERNAL_ELEMENTS_CHECK(Double |
template<typename schar > | |
uint32_t | HashSequentialString (const schar *chars, int length, uint32_t seed) |
SMI_ACCESSORS (TypeFeedbackInfo, ic_with_type_info_count, kIcWithTypeinfoCountOffset) ACCESSORS(TypeFeedbackInfo | |
Variables | |
property_accessors | |
Object | |
kPropertyAccessorsOffset | named_property_handler |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset | instance_template |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset | access_check_info |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset | eval_from_instructions_offset |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset | this_property_assignments |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset | flag |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset | needs_access_check |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit | start_position_and_type |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit | is_expression |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit kIsExpressionBit | compiler_hints |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit kIsExpressionBit | has_only_simple_this_property_assignments |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit kIsExpressionBit kHasOnlySimpleThisPropertyAssignments | uses_arguments |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit kIsExpressionBit kHasOnlySimpleThisPropertyAssignments kUsesArguments | formal_parameter_count |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kThisPropertyAssignmentsOffset kNeedsAccessCheckBit kIsExpressionBit kHasOnlySimpleThisPropertyAssignments kUsesArguments kFormalParameterCountOffset kStartPositionAndTypeOffset kCompilerHintsOffset | stress_deopt_counter |
name_should_print_as_anonymous | |
type_feedback_cells | |
TypeFeedbackCells | |
#define ACCESSORS | ( | holder, | |
name, | |||
type, | |||
offset | |||
) |
Definition at line 89 of file objects-inl.h.
#define ACCESSORS_TO_SMI | ( | holder, | |
name, | |||
offset | |||
) |
Definition at line 98 of file objects-inl.h.
#define BOOL_ACCESSORS | ( | holder, | |
field, | |||
name, | |||
offset | |||
) |
Definition at line 122 of file objects-inl.h.
#define BOOL_GETTER | ( | holder, | |
field, | |||
name, | |||
offset | |||
) |
Definition at line 116 of file objects-inl.h.
#define CAST_ACCESSOR | ( | type | ) |
Definition at line 77 of file objects-inl.h.
#define CONDITIONAL_WRITE_BARRIER | ( | heap, | |
object, | |||
offset, | |||
value, | |||
mode | |||
) |
Definition at line 878 of file objects-inl.h.
Referenced by JSObject::InObjectPropertyAtPut(), FixedArray::set(), ConsString::set_first(), JSObject::set_map_and_elements(), ConsString::set_second(), FixedArray::set_unchecked(), and Map::SetBackPointer().
#define EXTERNAL_ELEMENTS_CHECK | ( | name, | |
type | |||
) |
Definition at line 4573 of file objects-inl.h.
#define FIELD_ADDR | ( | p, | |
offset | |||
) | (reinterpret_cast<byte*>(p) + offset - kHeapObjectTag) |
Definition at line 862 of file objects-inl.h.
Referenced by ExternalAsciiString::ExternalAsciiStringIterateBody(), ExternalTwoByteString::ExternalTwoByteStringIterateBody(), Foreign::ForeignIterateBody(), SeqTwoByteString::GetChars(), SeqAsciiString::GetCharsAddress(), SeqTwoByteString::GetCharsAddress(), FixedArray::GetFirstElementAddress(), Code::instruction_start(), HeapObject::IteratePointer(), HeapObject::IteratePointers(), ExternalAsciiString::resource(), ExternalTwoByteString::resource(), ExternalAsciiString::set_resource(), ExternalTwoByteString::set_resource(), JSFunction::unchecked_code(), ExternalAsciiString::update_data_cache(), and ExternalTwoByteString::update_data_cache().
#define INT_ACCESSORS | ( | holder, | |
name, | |||
offset | |||
) |
Definition at line 84 of file objects-inl.h.
#define MAKE_STRUCT_CASE | ( | NAME, | |
Name, | |||
name | |||
) | case NAME##_TYPE: return true; |
Referenced by Object::IsStruct().
#define MAKE_STRUCT_CAST | ( | NAME, | |
Name, | |||
name | |||
) | CAST_ACCESSOR(Name) |
Definition at line 2244 of file objects-inl.h.
#define MAKE_STRUCT_PREDICATE | ( | NAME, | |
Name, | |||
name | |||
) |
Definition at line 763 of file objects-inl.h.
#define PSEUDO_SMI_ACCESSORS_HI | ( | holder, | |
name, | |||
offset | |||
) |
#define PSEUDO_SMI_ACCESSORS_LO | ( | holder, | |
name, | |||
offset | |||
) |
#define READ_BYTE_FIELD | ( | p, | |
offset | |||
) | (*reinterpret_cast<byte*>(FIELD_ADDR(p, offset))) |
Definition at line 956 of file objects-inl.h.
Referenced by Code::allow_osr_at_loop_nesting_level(), Code::binary_op_result_type(), Code::binary_op_type(), Map::bit_field(), Map::bit_field2(), Code::check_type(), Code::compare_operation(), Code::compare_state(), SharedFunctionInfo::construction_count(), ByteArray::get(), Code::has_debug_break_slots(), Code::has_deoptimization_support(), Code::has_function_cache(), Map::inobject_properties(), Map::instance_size(), Map::instance_type(), Code::is_compiled_optimizable(), Code::major_key(), Code::optimizable(), Map::pre_allocated_property_fields(), Code::profiler_ticks(), SeqAsciiString::SeqAsciiStringGet(), Code::set_compiled_optimizable(), Code::set_has_debug_break_slots(), Code::set_has_deoptimization_support(), Code::to_boolean_state(), Code::unary_op_type(), Map::unused_property_fields(), and Map::visitor_id().
#define READ_DOUBLE_FIELD | ( | p, | |
offset | |||
) | (*reinterpret_cast<double*>(FIELD_ADDR(p, offset))) |
Definition at line 888 of file objects-inl.h.
Referenced by FixedDoubleArray::get_scalar(), FixedDoubleArray::is_the_hole(), and HeapNumber::value().
#define READ_FIELD | ( | p, | |
offset | |||
) | (*reinterpret_cast<Object**>(FIELD_ADDR(p, offset))) |
Definition at line 865 of file objects-inl.h.
Referenced by Map::bit_field3(), DescriptorArray::bit_field3_storage(), Map::clear_instance_descriptors(), JSFunction::context(), JSRegExp::DataAtUnchecked(), JSObject::FastPropertyAt(), ConsString::first(), FixedArray::get(), Map::GetBackPointer(), JSObject::GetElementsKind(), JSObject::GetInternalField(), String::GetUnderlying(), JSObject::InObjectPropertyAt(), JSBuiltinsObject::javascript_builtin(), JSBuiltinsObject::javascript_builtin_code(), Oddball::kind(), HeapObject::map_word(), SlicedString::parent(), HeapObject::RawField(), ConsString::second(), Map::set_bit_field3(), Map::SetBackPointer(), SharedFunctionInfo::unchecked_code(), Map::unchecked_constructor(), JSFunction::unchecked_context(), Code::unchecked_deoptimization_data(), ConsString::unchecked_first(), Map::unchecked_prototype_transitions(), Code::unchecked_relocation_info(), ConsString::unchecked_second(), and JSFunction::unchecked_shared().
#define READ_INT64_FIELD | ( | p, | |
offset | |||
) | (*reinterpret_cast<int64_t*>(FIELD_ADDR(p, offset))) |
Definition at line 944 of file objects-inl.h.
Referenced by FixedDoubleArray::get_representation().
#define READ_INT_FIELD | ( | p, | |
offset | |||
) | (*reinterpret_cast<int*>(FIELD_ADDR(p, offset))) |
Definition at line 926 of file objects-inl.h.
Referenced by Code::flags(), HeapNumber::get_exponent(), ByteArray::get_int(), and HeapNumber::get_sign().
#define READ_INTPTR_FIELD | ( | p, | |
offset | |||
) | (*reinterpret_cast<intptr_t*>(FIELD_ADDR(p, offset))) |
Definition at line 932 of file objects-inl.h.
Referenced by Foreign::foreign_address().
#define READ_SHORT_FIELD | ( | p, | |
offset | |||
) | (*reinterpret_cast<uint16_t*>(FIELD_ADDR(p, offset))) |
Definition at line 950 of file objects-inl.h.
Referenced by SeqTwoByteString::SeqTwoByteStringGet().
#define READ_UINT32_FIELD | ( | p, | |
offset | |||
) | (*reinterpret_cast<uint32_t*>(FIELD_ADDR(p, offset))) |
Definition at line 938 of file objects-inl.h.
Referenced by String::hash_field(), Code::safepoint_table_offset(), Code::stack_check_table_offset(), and Code::stack_slots().
#define SLOT_ADDR | ( | obj, | |
offset | |||
) | reinterpret_cast<Object**>((obj)->address() + offset) |
Definition at line 5139 of file objects-inl.h.
Referenced by FixedBodyDescriptor< start_offset, end_offset, size >::IterateBody(), and FlexibleBodyDescriptor< start_offset >::IterateBody().
#define SMI_ACCESSORS | ( | holder, | |
name, | |||
offset | |||
) |
Definition at line 106 of file objects-inl.h.
#define TYPE_CHECKER | ( | type, | |
instancetype | |||
) |
Definition at line 70 of file objects-inl.h.
#define WRITE_BARRIER | ( | heap, | |
object, | |||
offset, | |||
value | |||
) |
Definition at line 871 of file objects-inl.h.
Referenced by JSObject::FastPropertyAtPut(), FixedArray::set(), JSFunction::set_context(), JSBuiltinsObject::set_javascript_builtin(), and JSObject::SetInternalField().
#define WRITE_BYTE_FIELD | ( | p, | |
offset, | |||
value | |||
) | (*reinterpret_cast<byte*>(FIELD_ADDR(p, offset)) = value) |
Definition at line 959 of file objects-inl.h.
Referenced by SeqAsciiString::SeqAsciiStringSet(), ByteArray::set(), Code::set_allow_osr_at_loop_nesting_level(), Code::set_binary_op_result_type(), Code::set_binary_op_type(), Map::set_bit_field(), Map::set_bit_field2(), Code::set_check_type(), Code::set_compare_operation(), Code::set_compare_state(), Code::set_compiled_optimizable(), SharedFunctionInfo::set_construction_count(), Code::set_has_debug_break_slots(), Code::set_has_deoptimization_support(), Code::set_has_function_cache(), Map::set_inobject_properties(), Map::set_instance_size(), Map::set_instance_type(), Code::set_major_key(), Code::set_optimizable(), Map::set_pre_allocated_property_fields(), Code::set_profiler_ticks(), Code::set_to_boolean_state(), Code::set_unary_op_type(), Map::set_unused_property_fields(), and Map::set_visitor_id().
#define WRITE_DOUBLE_FIELD | ( | p, | |
offset, | |||
value | |||
) | (*reinterpret_cast<double*>(FIELD_ADDR(p, offset)) = value) |
Definition at line 906 of file objects-inl.h.
Referenced by FixedDoubleArray::set(), FixedDoubleArray::set_the_hole(), and HeapNumber::set_value().
#define WRITE_FIELD | ( | p, | |
offset, | |||
value | |||
) | (*reinterpret_cast<Object**>(FIELD_ADDR(p, offset)) = value) |
Definition at line 868 of file objects-inl.h.
Referenced by Map::clear_instance_descriptors(), Map::ClearCodeCache(), JSObject::FastPropertyAtPut(), Map::init_instance_descriptors(), Map::init_prototype_transitions(), JSObject::initialize_elements(), JSObject::InitializeBody(), Struct::InitializeBody(), JSProxy::InitializeBody(), JSObject::InObjectPropertyAtPut(), FixedArray::NoIncrementalWriteBarrierSet(), FixedArray::NoWriteBarrierSet(), FixedArray::set(), Map::set_bit_field3(), DescriptorArray::set_bit_field3_storage(), JSFunction::set_context(), ConsString::set_first(), JSBuiltinsObject::set_javascript_builtin(), JSBuiltinsObject::set_javascript_builtin_code(), Oddball::set_kind(), JSObject::set_map_and_elements(), HeapObject::set_map_word(), FixedArray::set_null(), FixedArray::set_null_unchecked(), SlicedString::set_parent(), ConsString::set_second(), FixedArray::set_the_hole(), FixedArray::set_unchecked(), FixedArray::set_undefined(), Map::SetBackPointer(), and JSObject::SetInternalField().
#define WRITE_INT64_FIELD | ( | p, | |
offset, | |||
value | |||
) | (*reinterpret_cast<int64_t*>(FIELD_ADDR(p, offset)) = value) |
Definition at line 947 of file objects-inl.h.
#define WRITE_INT_FIELD | ( | p, | |
offset, | |||
value | |||
) | (*reinterpret_cast<int*>(FIELD_ADDR(p, offset)) = value) |
Definition at line 929 of file objects-inl.h.
Referenced by Code::set_flags().
#define WRITE_INTPTR_FIELD | ( | p, | |
offset, | |||
value | |||
) | (*reinterpret_cast<intptr_t*>(FIELD_ADDR(p, offset)) = value) |
Definition at line 935 of file objects-inl.h.
Referenced by JSFunction::set_code(), and Foreign::set_foreign_address().
#define WRITE_SHORT_FIELD | ( | p, | |
offset, | |||
value | |||
) | (*reinterpret_cast<uint16_t*>(FIELD_ADDR(p, offset)) = value) |
Definition at line 953 of file objects-inl.h.
Referenced by SeqTwoByteString::SeqTwoByteStringSet().
#define WRITE_UINT32_FIELD | ( | p, | |
offset, | |||
value | |||
) | (*reinterpret_cast<uint32_t*>(FIELD_ADDR(p, offset)) = value) |
Definition at line 941 of file objects-inl.h.
Referenced by String::set_hash_field(), Code::set_safepoint_table_offset(), Code::set_stack_check_table_offset(), and Code::set_stack_slots().