Home
last modified time | relevance | path

Searched refs:kHeaderSize (Results 1 – 25 of 39) sorted by relevance

12

/external/webkit/V8Binding/v8/src/
Dobjects.h884 static const int kHeaderSize = 0; // Object does not take up any space. variable
1234 static const int kMapOffset = Object::kHeaderSize;
1235 static const int kHeaderSize = kMapOffset + kPointerSize; variable
1275 static const int kValueOffset = HeapObject::kHeaderSize;
1665 static const int kPropertiesOffset = HeapObject::kHeaderSize;
1667 static const int kHeaderSize = kElementsOffset + kPointerSize; variable
1669 STATIC_CHECK(kHeaderSize == Internals::kJSObjectHeaderSize);
1724 static const int kLengthOffset = HeapObject::kHeaderSize;
1729 static const int kHeaderSize = kLengthOffset + kIntSize;
1730 static const int kAlignedSize = POINTER_SIZE_ALIGN(kHeaderSize);
[all …]
Dobjects-inl.h1136 if (type == JS_OBJECT_TYPE) return JSObject::kHeaderSize; in GetHeaderSize()
1153 return JSObject::kHeaderSize; in GetHeaderSize()
1246 for (int offset = kHeaderSize; offset < object_size; offset += kPointerSize) { in InitializeBody()
1254 for (int offset = kHeaderSize; offset < object_size; offset += kPointerSize) { in InitializeBody()
1299 return READ_FIELD(this, kHeaderSize + index * kPointerSize); in get()
1305 int offset = kHeaderSize + index * kPointerSize; in set()
1312 int offset = kHeaderSize + index * kPointerSize; in set()
1328 int offset = kHeaderSize + index * kPointerSize; in set()
1336 WRITE_FIELD(array, kHeaderSize + index * kPointerSize, value); in fast_set()
1343 WRITE_FIELD(this, kHeaderSize + index * kPointerSize, in set_undefined()
[all …]
Dbootstrapper.cc492 Factory::NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in CreateRoots()
764 JSObject::kHeaderSize, in CreateRoots()
808 JSObject::kHeaderSize, in CreateRoots()
824 JSObject::kHeaderSize, code, true); in CreateRoots()
835 JSObject::kHeaderSize, code, true); in CreateRoots()
1155 InstallFunction(proto, "call", JS_OBJECT_TYPE, JSObject::kHeaderSize, in InstallNatives()
1160 InstallFunction(proto, "apply", JS_OBJECT_TYPE, JSObject::kHeaderSize, in InstallNatives()
1489 JSObject::kHeaderSize, in AddSpecialFunction()
Dparser.h120 static const unsigned kHeaderSize = 4; variable
Dcontexts.h326 return kHeaderSize + index * kPointerSize - kHeapObjectTag; in SlotOffset()
Dfactory.cc461 instance_size != JSObject::kHeaderSize) { in NewFunction()
520 instance_size != JSObject::kHeaderSize) { in NewFunctionWithPrototype()
763 instance_size += JSObject::kHeaderSize; in CreateApiFunction()
Dheap.cc848 int offset = FixedArray::kHeaderSize + i * kPointerSize; in UpdateRSet()
1107 obj = AllocatePartialMap(FIXED_ARRAY_TYPE, FixedArray::kHeaderSize); in CreateInitialMaps()
1202 obj = AllocateMap(CODE_TYPE, Code::kHeaderSize); in CreateInitialMaps()
1226 obj = AllocateMap(FIXED_ARRAY_TYPE, HeapObject::kHeaderSize); in CreateInitialMaps()
1230 obj = AllocateMap(FIXED_ARRAY_TYPE, HeapObject::kHeaderSize); in CreateInitialMaps()
1234 obj = AllocateMap(FIXED_ARRAY_TYPE, HeapObject::kHeaderSize); in CreateInitialMaps()
1238 obj = AllocateMap(FIXED_ARRAY_TYPE, HeapObject::kHeaderSize); in CreateInitialMaps()
1305 obj = AllocateMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in CreateApiObjects()
2281 for (int offset = JSObject::kHeaderSize; in CopyJSObject()
/external/webkit/V8Binding/v8/test/cctest/
Dtest-mark-compact.cc90 (Heap::MaxObjectSizeInPagedSpace() - FixedArray::kHeaderSize) / in TEST()
122 int size = (Heap::MaxObjectSizeInPagedSpace() - FixedArray::kHeaderSize) / in TEST()
170 mapp = Heap::AllocateMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST()
173 mapp = Heap::AllocateMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST()
185 Map::cast(Heap::AllocateMap(JS_OBJECT_TYPE, JSObject::kHeaderSize)); in TEST()
Dtest-heap.cc39 CheckMap(Heap::fixed_array_map(), FIXED_ARRAY_TYPE, FixedArray::kHeaderSize); in TEST()
214 Map::cast(Heap::AllocateMap(JS_OBJECT_TYPE, JSObject::kHeaderSize)); in TEST()
517 Map::cast(Heap::AllocateMap(JS_OBJECT_TYPE, JSObject::kHeaderSize)); in TEST()
607 Map::cast(Heap::AllocateMap(JS_OBJECT_TYPE, JSObject::kHeaderSize)); in TEST()
Dtest-alloc.cc77 int instance_size = JSObject::kHeaderSize; in AllocateAfterFailures()
/external/webkit/V8Binding/v8/src/ia32/
Dbuiltins-ia32.cc69 __ lea(ebx, FieldOperand(ebx, Code::kHeaderSize)); in Generate_JSConstructCall()
152 __ lea(ecx, Operand(ebx, JSObject::kHeaderSize)); in Generate_JSConstructStubGeneric()
192 __ AllocateObjectInNewSpace(FixedArray::kHeaderSize, in Generate_JSConstructStubGeneric()
216 __ lea(eax, Operand(edi, FixedArray::kHeaderSize)); in Generate_JSConstructStubGeneric()
468 Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; in Generate_FunctionCall()
510 __ lea(edx, FieldOperand(edx, Code::kHeaderSize)); in Generate_FunctionCall()
612 Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; in Generate_FunctionApply()
Dmacro-assembler-ia32.cc89 Page::kObjectStartOffset + FixedArray::kHeaderSize in RecordWriteHelper()
200 FixedArray::kHeaderSize - kHeapObjectTag)); in RecordWrite()
571 int offset = Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; in CheckAccessGlobalProxy()
612 int token_offset = Context::kHeaderSize + in CheckAccessGlobalProxy()
966 add(Operand(edx), Immediate(Code::kHeaderSize - kHeapObjectTag)); in InvokePrologue()
1024 lea(edx, FieldOperand(edx, Code::kHeaderSize)); in InvokeFunction()
1075 add(Operand(target), Immediate(Code::kHeaderSize - kHeapObjectTag)); in GetBuiltinEntry()
Ddebug-ia32.cc203 __ add(Operand(ebx), Immediate(Code::kHeaderSize - kHeapObjectTag)); in GenerateReturnDebugBreakEntry()
Dic-ia32.cc96 StringDictionary::kHeaderSize + in GenerateDictionaryLoad()
107 StringDictionary::kHeaderSize + in GenerateDictionaryLoad()
279 Operand(ecx, eax, times_4, FixedArray::kHeaderSize - kHeapObjectTag)); in GenerateGeneric()
483 __ mov(Operand(ecx, ebx, times_2, FixedArray::kHeaderSize - kHeapObjectTag), in GenerateGeneric()
Dstub-cache-ia32.cc66 __ add(Operand(extra), Immediate(Code::kHeaderSize - kHeapObjectTag)); in ProbeTable()
92 __ add(Operand(offset), Immediate(Code::kHeaderSize - kHeapObjectTag)); in ProbeTable()
285 int offset = index * kPointerSize + FixedArray::kHeaderSize; in GenerateFastPropertyLoad()
682 int offset = index * kPointerSize + FixedArray::kHeaderSize; in GenerateStoreField()
860 __ lea(ecx, FieldOperand(eax, Code::kHeaderSize)); in CompileLazyCompile()
1808 __ lea(edx, Operand(edx, JSObject::kHeaderSize)); in CompileConstructStub()
Dassembler-ia32-inl.h229 pos = label->pos() + Code::kHeaderSize - kHeapObjectTag; in emit_code_relative_offset()
/external/webkit/V8Binding/v8/src/x64/
Dbuiltins-x64.cc253 Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; in Generate_FunctionCall()
296 __ lea(rdx, FieldOperand(rdx, Code::kHeaderSize)); in Generate_FunctionCall()
409 Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; in Generate_FunctionApply()
475 __ lea(rbx, FieldOperand(rbx, Code::kHeaderSize)); in Generate_JSConstructCall()
559 __ lea(rcx, Operand(rbx, JSObject::kHeaderSize)); in Generate_JSConstructStubGeneric()
599 __ AllocateObjectInNewSpace(FixedArray::kHeaderSize, in Generate_JSConstructStubGeneric()
624 __ lea(rcx, Operand(rdi, FixedArray::kHeaderSize)); in Generate_JSConstructStubGeneric()
Dmacro-assembler-x64.cc107 Page::kObjectStartOffset + FixedArray::kHeaderSize in RecordWriteHelper()
209 FixedArray::kHeaderSize - kHeapObjectTag)); in RecordWrite()
363 addq(target, Immediate(Code::kHeaderSize - kHeapObjectTag)); in GetBuiltinEntry()
877 addq(rdx, Immediate(Code::kHeaderSize - kHeapObjectTag)); in InvokePrologue()
938 lea(rdx, FieldOperand(rdx, Code::kHeaderSize)); in InvokeFunction()
1187 int offset = Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; in CheckAccessGlobalProxy()
1224 int token_offset = Context::kHeaderSize + in CheckAccessGlobalProxy()
Ddebug-x64.cc170 __ addq(rbx, Immediate(Code::kHeaderSize - kHeapObjectTag)); in GenerateReturnDebugBreakEntry()
Dic-x64.cc95 StringDictionary::kHeaderSize + in GenerateDictionaryLoad()
106 StringDictionary::kHeaderSize + in GenerateDictionaryLoad()
341 FixedArray::kHeaderSize - kHeapObjectTag)); in GenerateGeneric()
509 FixedArray::kHeaderSize - kHeapObjectTag), in GenerateGeneric()
Dstub-cache-x64.cc68 __ addq(kScratchRegister, Immediate(Code::kHeaderSize - kHeapObjectTag)); in ProbeTable()
122 int offset = index * kPointerSize + FixedArray::kHeaderSize; in GenerateFastPropertyLoad()
257 int offset = index * kPointerSize + FixedArray::kHeaderSize; in GenerateStoreField()
1592 __ lea(rcx, FieldOperand(rax, Code::kHeaderSize)); in CompileLazyCompile()
1805 __ lea(r9, Operand(rdx, JSObject::kHeaderSize)); in CompileConstructStub()
/external/webkit/V8Binding/v8/src/arm/
Dbuiltins-arm.cc73 __ add(pc, r2, Operand(Code::kHeaderSize - kHeapObjectTag)); in Generate_JSConstructCall()
162 ASSERT_EQ(3 * kPointerSize, JSObject::kHeaderSize); in Generate_JSConstructStubGeneric()
206 __ add(r0, r3, Operand(FixedArray::kHeaderSize / kPointerSize)); in Generate_JSConstructStubGeneric()
235 ASSERT_EQ(2 * kPointerSize, FixedArray::kHeaderSize); in Generate_JSConstructStubGeneric()
543 Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; in Generate_FunctionCall()
596 __ add(r3, r3, Operand(Code::kHeaderSize - kHeapObjectTag)); in Generate_FunctionCall()
701 Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; in Generate_FunctionApply()
Dic-arm.cc95 const int kCapacityOffset = StringDictionary::kHeaderSize + in GenerateDictionaryLoad()
101 const int kElementsStartOffset = StringDictionary::kHeaderSize + in GenerateDictionaryLoad()
606 __ add(r3, r1, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in GenerateGeneric()
675 __ add(r2, r3, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in GenerateGeneric()
705 int displacement = FixedArray::kHeaderSize - kHeapObjectTag - in GenerateGeneric()
731 __ add(r2, r2, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in GenerateGeneric()
Dmacro-assembler-arm.cc236 + FixedArray::kHeaderSize)); in RecordWrite()
436 add(r3, r3, Operand(Code::kHeaderSize - kHeapObjectTag)); in InvokePrologue()
508 add(code_reg, code_reg, Operand(Code::kHeaderSize - kHeapObjectTag)); in InvokeFunction()
712 int offset = Context::kHeaderSize + Context::GLOBAL_INDEX * kPointerSize; in CheckAccessGlobalProxy()
759 int token_offset = Context::kHeaderSize + in CheckAccessGlobalProxy()
1077 add(target, target, Operand(Code::kHeaderSize - kHeapObjectTag)); in GetBuiltinEntry()
Dstub-cache-arm.cc75 __ add(offset, offset, Operand(Code::kHeaderSize - kHeapObjectTag)); in ProbeTable()
167 int offset = index * kPointerSize + FixedArray::kHeaderSize; in GenerateFastPropertyLoad()
333 int offset = index * kPointerSize + FixedArray::kHeaderSize; in GenerateStoreField()
538 __ add(r2, r0, Operand(Code::kHeaderSize - kHeapObjectTag)); in CompileLazyCompile()

12