v8
3.14.5(node0.10.28)
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"
#include "transitions-inl.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) |
Functions | |
STATIC_CHECK ((kStringRepresentationMask|kStringEncodingMask)==Internals::kFullStringRepresentationMask) | |
STATIC_CHECK (static_cast< uint32_t >(kStringEncodingMask)==Internals::kStringEncodingMask) | |
STATIC_CHECK ((kExternalStringTag|kAsciiStringTag)==Internals::kExternalAsciiRepresentationTag) | |
STATIC_CHECK (v8::String::ASCII_ENCODING==kAsciiStringTag) | |
STATIC_CHECK ((kExternalStringTag|kTwoByteStringTag)==Internals::kExternalTwoByteRepresentationTag) | |
STATIC_CHECK (v8::String::TWO_BYTE_ENCODING==kTwoByteStringTag) | |
template<> | |
bool | Is< JSFunction > (Object *obj) |
template<> | |
bool | Is< JSArray > (Object *obj) |
template<SearchMode search_mode, typename T > | |
int | BinarySearch (T *array, String *name, int low, int high, int valid_entries) |
template<SearchMode search_mode, typename T > | |
int | LinearSearch (T *array, String *name, int len, int valid_entries) |
template<SearchMode search_mode, typename T > | |
int | Search (T *array, String *name, int valid_entries) |
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, optimized_code_map, Object, kOptimizedCodeMapOffset) ACCESSORS(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset | ACCESSORS (SharedFunctionInfo, this_property_assignments, Object, kThisPropertyAssignmentsOffset) BOOL_ACCESSORS(FunctionTemplateInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit | BOOL_ACCESSORS (FunctionTemplateInfo, flag, needs_access_check, kNeedsAccessCheckBit) BOOL_ACCESSORS(FunctionTemplateInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit | BOOL_ACCESSORS (SharedFunctionInfo, start_position_and_type, is_expression, kIsExpressionBit) BOOL_ACCESSORS(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit kIsTopLevelBit | BOOL_GETTER (SharedFunctionInfo, compiler_hints, has_only_simple_this_property_assignments, kHasOnlySimpleThisPropertyAssignments) BOOL_ACCESSORS(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit kIsTopLevelBit kAllowLazyCompilation | BOOL_ACCESSORS (SharedFunctionInfo, compiler_hints, allows_lazy_compilation_without_context, kAllowLazyCompilationWithoutContext) BOOL_ACCESSORS(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit kIsTopLevelBit kAllowLazyCompilation kUsesArguments | BOOL_ACCESSORS (SharedFunctionInfo, compiler_hints, has_duplicate_parameters, kHasDuplicateParameters) PSEUDO_SMI_ACCESSORS_HI(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit kIsTopLevelBit kAllowLazyCompilation kUsesArguments kFormalParameterCountOffset | PSEUDO_SMI_ACCESSORS_LO (SharedFunctionInfo, expected_nof_properties, kExpectedNofPropertiesOffset) PSEUDO_SMI_ACCESSORS_HI(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit kIsTopLevelBit kAllowLazyCompilation kUsesArguments kFormalParameterCountOffset kStartPositionAndTypeOffset | PSEUDO_SMI_ACCESSORS_LO (SharedFunctionInfo, function_token_position, kFunctionTokenPositionOffset) PSEUDO_SMI_ACCESSORS_HI(SharedFunctionInfo |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit kIsTopLevelBit kAllowLazyCompilation 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) void SharedFunctionInfo |
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) |
ACCESSORS (TypeFeedbackInfo, type_feedback_cells, TypeFeedbackCells, kTypeFeedbackCellsOffset) Relocatable | |
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 | instance_class_name |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset | flag |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset | hidden_prototype |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit | read_only_prototype |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit | start_position_and_type |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit | is_toplevel |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit kIsTopLevelBit | compiler_hints |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit kIsTopLevelBit | allows_lazy_compilation |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit kIsTopLevelBit kAllowLazyCompilation | uses_arguments |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit kIsTopLevelBit kAllowLazyCompilation kUsesArguments | formal_parameter_count |
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset kHiddenPrototypeBit kReadOnlyPrototypeBit kIsTopLevelBit kAllowLazyCompilation kUsesArguments kFormalParameterCountOffset kStartPositionAndTypeOffset kCompilerHintsOffset | stress_deopt_counter |
name_should_print_as_anonymous | |
#define ACCESSORS | ( | holder, | |
name, | |||
type, | |||
offset | |||
) |
Definition at line 90 of file objects-inl.h.
#define ACCESSORS_TO_SMI | ( | holder, | |
name, | |||
offset | |||
) |
Definition at line 99 of file objects-inl.h.
#define BOOL_ACCESSORS | ( | holder, | |
field, | |||
name, | |||
offset | |||
) |
Definition at line 123 of file objects-inl.h.
#define BOOL_GETTER | ( | holder, | |
field, | |||
name, | |||
offset | |||
) |
Definition at line 117 of file objects-inl.h.
#define CAST_ACCESSOR | ( | type | ) |
Definition at line 78 of file objects-inl.h.
#define CONDITIONAL_WRITE_BARRIER | ( | heap, | |
object, | |||
offset, | |||
value, | |||
mode | |||
) |
Definition at line 886 of file objects-inl.h.
Referenced by Map::ClearTransitions(), JSObject::InObjectPropertyAtPut(), FixedArray::set(), ConsString::set_first(), JSObject::set_map_and_elements(), SlicedString::set_parent(), ConsString::set_second(), FixedArray::set_unchecked(), and Map::SetBackPointer().
#define EXTERNAL_ELEMENTS_CHECK | ( | name, | |
type | |||
) |
Definition at line 4846 of file objects-inl.h.
#define FIELD_ADDR | ( | p, | |
offset | |||
) | (reinterpret_cast<byte*>(p) + offset - kHeapObjectTag) |
Definition at line 870 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 85 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 2388 of file objects-inl.h.
#define MAKE_STRUCT_PREDICATE | ( | NAME, | |
Name, | |||
name | |||
) |
Definition at line 771 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 964 of file objects-inl.h.
Referenced by Code::allow_osr_at_loop_nesting_level(), Map::bit_field(), Map::bit_field2(), Code::check_type(), SharedFunctionInfo::construction_count(), ByteArray::get(), Code::has_debug_break_slots(), Code::has_deoptimization_support(), Map::inobject_properties(), Map::instance_size(), Map::instance_type(), Code::is_compiled_optimizable(), 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(), Map::unused_property_fields(), and Map::visitor_id().
#define READ_DOUBLE_FIELD | ( | p, | |
offset | |||
) | (*reinterpret_cast<double*>(FIELD_ADDR(p, offset))) |
Definition at line 896 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 873 of file objects-inl.h.
Referenced by TypeFeedbackInfo::change_ic_with_type_info_count(), TypeFeedbackInfo::change_own_type_change_checksum(), JSFunction::context(), JSRegExp::DataAtUnchecked(), JSObject::FastPropertyAt(), ConsString::first(), FixedArray::get(), Map::GetBackPointer(), JSObject::GetElementsKind(), JSObject::GetInternalField(), String::GetUnderlying(), Map::HasTransitionArray(), TypeFeedbackInfo::ic_total_count(), TypeFeedbackInfo::ic_with_type_info_count(), JSObject::InObjectPropertyAt(), JSBuiltinsObject::javascript_builtin(), JSBuiltinsObject::javascript_builtin_code(), Oddball::kind(), HeapObject::map_word(), TypeFeedbackInfo::matches_inlined_type_change_checksum(), TypeFeedbackInfo::own_type_change_checksum(), SlicedString::parent(), HeapObject::RawField(), ConsString::second(), TypeFeedbackInfo::set_ic_total_count(), TypeFeedbackInfo::set_inlined_type_change_checksum(), Map::SetBackPointer(), SharedFunctionInfo::unchecked_code(), Map::unchecked_constructor(), JSFunction::unchecked_context(), Code::unchecked_deoptimization_data(), ConsString::unchecked_first(), 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 952 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 934 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 940 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 958 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 946 of file objects-inl.h.
Referenced by Code::binary_op_result_type(), Code::binary_op_type(), Code::compare_operation(), Code::compare_state(), Code::has_function_cache(), String::hash_field(), Code::major_key(), Code::safepoint_table_offset(), Code::set_binary_op_result_type(), Code::set_binary_op_type(), Code::set_compare_operation(), Code::set_compare_state(), Code::set_has_function_cache(), Code::set_major_key(), Code::set_safepoint_table_offset(), Code::set_stack_check_table_offset(), Code::set_stack_slots(), Code::set_to_boolean_state(), Code::set_unary_op_type(), Code::stack_check_table_offset(), Code::stack_slots(), Code::to_boolean_state(), and Code::unary_op_type().
#define SMI_ACCESSORS | ( | holder, | |
name, | |||
offset | |||
) |
Definition at line 107 of file objects-inl.h.
#define TYPE_CHECKER | ( | type, | |
instancetype | |||
) |
Definition at line 71 of file objects-inl.h.
#define WRITE_BARRIER | ( | heap, | |
object, | |||
offset, | |||
value | |||
) |
Definition at line 879 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 967 of file objects-inl.h.
Referenced by SeqAsciiString::SeqAsciiStringSet(), ByteArray::set(), Code::set_allow_osr_at_loop_nesting_level(), Map::set_bit_field(), Map::set_bit_field2(), Code::set_check_type(), Code::set_compiled_optimizable(), SharedFunctionInfo::set_construction_count(), Code::set_has_debug_break_slots(), Code::set_has_deoptimization_support(), Map::set_inobject_properties(), Map::set_instance_size(), Map::set_instance_type(), Code::set_optimizable(), Map::set_pre_allocated_property_fields(), Code::set_profiler_ticks(), 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 914 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 876 of file objects-inl.h.
Referenced by TypeFeedbackInfo::change_ic_with_type_info_count(), TypeFeedbackInfo::change_own_type_change_checksum(), Map::ClearCodeCache(), Map::ClearTransitions(), JSObject::FastPropertyAtPut(), Map::init_back_pointer(), JSObject::initialize_elements(), TypeFeedbackInfo::initialize_storage(), JSObject::InitializeBody(), Struct::InitializeBody(), JSProxy::InitializeBody(), JSObject::InObjectPropertyAtPut(), FixedArray::NoIncrementalWriteBarrierSet(), FixedArray::NoWriteBarrierSet(), FixedArray::set(), JSFunction::set_context(), ConsString::set_first(), TypeFeedbackInfo::set_ic_total_count(), TypeFeedbackInfo::set_inlined_type_change_checksum(), 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(), JSObject::SetInternalField(), and DescriptorArray::SetNumberOfDescriptors().
#define WRITE_INT64_FIELD | ( | p, | |
offset, | |||
value | |||
) | (*reinterpret_cast<int64_t*>(FIELD_ADDR(p, offset)) = value) |
Definition at line 955 of file objects-inl.h.
#define WRITE_INT_FIELD | ( | p, | |
offset, | |||
value | |||
) | (*reinterpret_cast<int*>(FIELD_ADDR(p, offset)) = value) |
Definition at line 937 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 943 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 961 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 949 of file objects-inl.h.
Referenced by Code::set_binary_op_result_type(), Code::set_binary_op_type(), Code::set_compare_operation(), Code::set_compare_state(), Code::set_has_function_cache(), String::set_hash_field(), Code::set_major_key(), Code::set_safepoint_table_offset(), Code::set_stack_check_table_offset(), Code::set_stack_slots(), Code::set_to_boolean_state(), and Code::set_unary_op_type().