Home
last modified time | relevance | path

Searched refs:kHeapObjectTag (Results 1 – 25 of 38) sorted by relevance

12

/external/v8/src/arm/
Dcode-stubs-arm.cc122 __ add(r3, r3, Operand(Code::kHeaderSize - kHeapObjectTag)); in Generate()
202 __ add(r3, r3, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in Generate()
573 __ sub(scratch1, object, Operand(kHeapObjectTag)); in LoadNumber()
746 __ sub(scratch1, object, Operand(kHeapObjectTag)); in LoadNumberAsInt32Double()
821 __ sub(scratch1, object, Operand(kHeapObjectTag)); in LoadNumberAsInt32()
1149 __ sub(r7, rhs, Operand(kHeapObjectTag)); in EmitSmiNonsmiComparison()
1187 __ sub(r7, lhs, Operand(kHeapObjectTag)); in EmitSmiNonsmiComparison()
1366 __ sub(r7, rhs, Operand(kHeapObjectTag)); in EmitCheckForTwoHeapNumbers()
1368 __ sub(r7, lhs, Operand(kHeapObjectTag)); in EmitCheckForTwoHeapNumbers()
1465 Operand(HeapNumber::kValueOffset - kHeapObjectTag)); in GenerateLookupNumberStringCache()
[all …]
Dic-arm.cc266 __ add(scratch2, scratch2, Operand(kValueOffset - kHeapObjectTag)); in GenerateDictionaryStore()
493 __ add(scratch1, elements, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in GenerateFastArrayLoad()
986 ldr_property_instr, offset - kHeapObjectTag); in PatchInlinedLoad()
1074 str_property_instr, offset - kHeapObjectTag); in PatchInlinedStore()
1084 add_offset_instr, offset - kHeapObjectTag); in PatchInlinedStore()
1281 __ sub(r1, r1, Operand(kHeapObjectTag)); // Remove the heap tag. in GenerateGeneric()
1290 __ add(r1, r1, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in GenerateGeneric()
1522 __ add(r5, elements, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in GenerateGeneric()
Dbuiltins-arm.cc142 __ sub(scratch1, scratch1, Operand(kHeapObjectTag)); in AllocateEmptyJSArray()
249 Operand(kHeapObjectTag)); in AllocateJSArray()
631 __ add(pc, r2, Operand(Code::kHeaderSize - kHeapObjectTag)); in Generate_JSConstructCall()
761 __ add(r4, r4, Operand(kHeapObjectTag)); in Generate_JSConstructStubHelper()
838 __ add(r5, r5, Operand(kHeapObjectTag)); // Add the heap tag. in Generate_JSConstructStubHelper()
1085 __ add(r2, r0, Operand(Code::kHeaderSize - kHeapObjectTag)); in Generate_LazyCompile()
1108 __ add(r2, r0, Operand(Code::kHeaderSize - kHeapObjectTag)); in Generate_LazyRecompile()
Dstub-cache-arm.cc85 __ add(offset, offset, Operand(Code::kHeaderSize - kHeapObjectTag)); in ProbeTable()
1626 FixedArray::kHeaderSize - kHeapObjectTag - argc * kPointerSize; in CompileArrayPushCall()
1761 __ ldr(r0, MemOperand(elements, FixedArray::kHeaderSize - kHeapObjectTag)); in CompileArrayPopCall()
1769 __ str(r6, MemOperand(elements, FixedArray::kHeaderSize - kHeapObjectTag)); in CompileArrayPopCall()
3162 __ add(r3, r2, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in CompileLoadSpecialized()
3267 elements_reg, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in CompileStoreSpecialized()
3409 __ orr(r0, r0, Operand(kHeapObjectTag)); in CompileConstructStub()
3555 __ sub(r3, r0, Operand(kHeapObjectTag)); in CompileKeyedLoadStub()
3584 __ sub(r1, r2, Operand(kHeapObjectTag)); in CompileKeyedLoadStub()
3638 __ sub(r1, r2, Operand(kHeapObjectTag)); in CompileKeyedLoadStub()
[all …]
Dfull-codegen-arm.cc1022 __ add(r2, r2, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in VisitForInStatement()
2559 __ add(r2, r4, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in EmitIsStringWrapperSafeForDefaultValueOf()
2565 Operand(FixedArray::kHeaderSize - kHeapObjectTag + in EmitIsStringWrapperSafeForDefaultValueOf()
2874 __ sub(r0, r4, Operand(kHeapObjectTag)); in EmitRandomHeapNumber()
2962 __ RecordWrite(r1, Operand(JSValue::kValueOffset - kHeapObjectTag), r2, r3); in EmitSetValueOf()
3236 __ add(scratch1, elements, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in EmitSwapElements()
3304 __ add(r3, cache, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in EmitGetFromCache()
3454 elements, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in EmitFastAsciiArrayJoin()
3519 elements, Operand(FixedArray::kHeaderSize - kHeapObjectTag)); in EmitFastAsciiArrayJoin()
3541 Operand(SeqAsciiString::kHeaderSize - kHeapObjectTag)); in EmitFastAsciiArrayJoin()
[all …]
Dmacro-assembler-arm.cc901 add(r3, r3, Operand(Code::kHeaderSize - kHeapObjectTag)); in InvokePrologue()
1378 add(result, result, Operand(kHeapObjectTag)); in AllocateInNewSpace()
1467 add(result, result, Operand(kHeapObjectTag)); in AllocateInNewSpace()
1867 sub(scratch2, object, Operand(kHeapObjectTag)); in ObjectToDoubleVFPRegister()
1907 sub(scratch, source, Operand(kHeapObjectTag)); in ConvertToInt32()
2643 sub(scratch1, result, Operand(kHeapObjectTag)); in AllocateHeapNumberWithValue()
Dlithium-codegen-arm.cc1459 __ sub(ip, reg, Operand(kHeapObjectTag)); in DoBranch()
2964 int32_t value_offset = HeapNumber::kValueOffset - kHeapObjectTag; in DoPower()
3320 Operand(SeqTwoByteString::kHeaderSize - kHeapObjectTag)); in DoStringCharCodeAt()
3334 Operand(SeqAsciiString::kHeaderSize - kHeapObjectTag)); in DoStringCharCodeAt()
3504 __ sub(ip, reg, Operand(kHeapObjectTag)); in DoDeferredNumberTagI()
3534 __ sub(ip, reg, Operand(kHeapObjectTag)); in DoNumberTagD()
3601 __ sub(ip, ip, Operand(kHeapObjectTag)); in EmitNumberUntagD()
3608 __ sub(ip, input_reg, Operand(kHeapObjectTag)); in EmitNumberUntagD()
3668 __ sub(scratch1, input_reg, Operand(kHeapObjectTag)); in DoDeferredTaggedToI()
3683 __ sub(ip, input_reg, Operand(kHeapObjectTag)); in DoDeferredTaggedToI()
Dmacro-assembler-arm.h44 return MemOperand(object, offset - kHeapObjectTag); in FieldMemOperand()
/external/v8/src/x64/
Dic-x64.cc143 kElementsStartOffset - kHeapObjectTag)); in GenerateStringDictionaryProbes()
199 kDetailsOffset - kHeapObjectTag), in GenerateDictionaryLoad()
207 kValueOffset - kHeapObjectTag)); in GenerateDictionaryLoad()
262 kDetailsOffset - kHeapObjectTag), in GenerateDictionaryStore()
271 kValueOffset - kHeapObjectTag)); in GenerateDictionaryStore()
1325 *reinterpret_cast<int*>(offset_address) = offset - kHeapObjectTag; in PatchInlinedLoad()
1371 *reinterpret_cast<int*>(offset_address) = offset - kHeapObjectTag; in PatchInlinedStore()
1381 *reinterpret_cast<int*>(offset_address) = offset - kHeapObjectTag; in PatchInlinedStore()
Dbuiltins-x64.cc222 __ or_(rbx, Immediate(kHeapObjectTag)); in Generate_JSConstructStubHelper()
285 __ or_(rdi, Immediate(kHeapObjectTag)); // add the heap tag in Generate_JSConstructStubHelper()
1099 FixedArray::kHeaderSize - kHeapObjectTag)); in AllocateJSArray()
1210 __ lea(rdx, Operand(rcx, FixedArray::kHeaderSize - kHeapObjectTag)); in ArrayNativeCode()
Dmacro-assembler-x64.cc314 IsAligned(offset + kHeapObjectTag, kPointerSize)); in RecordWriteNonSmi()
1083 ASSERT(kSmiTag == 0 && kHeapObjectTag == 1 && kHeapObjectTagMask == 3); in CheckBothSmi()
2458 subq(result, Immediate(object_size - kHeapObjectTag)); in AllocateInNewSpace()
2464 addq(result, Immediate(kHeapObjectTag)); in AllocateInNewSpace()
2513 addq(result, Immediate(kHeapObjectTag)); in AllocateInNewSpace()
2559 addq(result, Immediate(kHeapObjectTag)); in AllocateInNewSpace()
Dcode-stubs-x64.cc2111 __ addq(r11, Immediate(Code::kHeaderSize - kHeapObjectTag)); in Generate()
2543 STATIC_ASSERT(kHeapObjectTag != 0); in Generate()
3748 __ addq(rcx, Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag)); in Generate()
3751 __ addq(rax, Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag)); in Generate()
3760 __ addq(rdx, Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag)); in Generate()
3785 __ addq(rcx, Immediate(SeqTwoByteString::kHeaderSize - kHeapObjectTag)); in Generate()
3788 __ addq(rax, Immediate(SeqTwoByteString::kHeaderSize - kHeapObjectTag)); in Generate()
3797 __ addq(rdx, Immediate(SeqTwoByteString::kHeaderSize - kHeapObjectTag)); in Generate()
4209 SeqAsciiString::kHeaderSize - kHeapObjectTag)); in Generate()
4245 SeqAsciiString::kHeaderSize - kHeapObjectTag)); in Generate()
Dmacro-assembler-x64.h1213 return Operand(object, offset - kHeapObjectTag); in FieldOperand()
1222 return Operand(object, index, scale, offset - kHeapObjectTag); in FieldOperand()
1996 addq(rdx, Immediate(Code::kHeaderSize - kHeapObjectTag)); in InvokePrologue()
/external/v8/src/ia32/
Dic-ia32.cc144 kElementsStartOffset - kHeapObjectTag)); in GenerateStringDictionaryProbes()
202 __ test(Operand(elements, r0, times_4, kDetailsOffset - kHeapObjectTag), in GenerateDictionaryLoad()
208 __ mov(result, Operand(elements, r0, times_4, kValueOffset - kHeapObjectTag)); in GenerateDictionaryLoad()
260 __ test(Operand(elements, r0, times_4, kDetailsOffset - kHeapObjectTag), in GenerateDictionaryStore()
266 __ lea(r0, Operand(elements, r0, times_4, kValueOffset - kHeapObjectTag)); in GenerateDictionaryStore()
1301 *reinterpret_cast<int*>(offset_address) = offset - kHeapObjectTag; in PatchInlinedLoad()
1392 *reinterpret_cast<int*>(offset_address) = offset - kHeapObjectTag; in PatchInlinedStore()
1402 *reinterpret_cast<int*>(offset_address) = offset - kHeapObjectTag; in PatchInlinedStore()
Dmacro-assembler-ia32.cc99 IsAligned(offset + kHeapObjectTag, kPointerSize)); in RecordWrite()
111 FixedArray::kHeaderSize - kHeapObjectTag)); in RecordWrite()
745 sub(Operand(result), Immediate(object_size - kHeapObjectTag)); in AllocateInNewSpace()
750 add(Operand(result), Immediate(kHeapObjectTag)); in AllocateInNewSpace()
795 lea(result, Operand(result, kHeapObjectTag)); in AllocateInNewSpace()
840 lea(result, Operand(result, kHeapObjectTag)); in AllocateInNewSpace()
1509 add(Operand(edx), Immediate(Code::kHeaderSize - kHeapObjectTag)); in InvokePrologue()
Dmacro-assembler-ia32.h758 return Operand(object, offset - kHeapObjectTag); in FieldOperand()
767 return Operand(object, index, scale, offset - kHeapObjectTag); in FieldOperand()
Dbuiltins-ia32.cc220 __ or_(Operand(ebx), Immediate(kHeapObjectTag)); in Generate_JSConstructStubHelper()
282 __ or_(Operand(edi), Immediate(kHeapObjectTag)); // add the heap tag in Generate_JSConstructStubHelper()
1009 FixedArray::kHeaderSize - kHeapObjectTag)); in AllocateJSArray()
1177 __ lea(edx, Operand(ecx, FixedArray::kHeaderSize - kHeapObjectTag)); in ArrayNativeCode()
Dassembler-ia32-inl.h334 pos = label->pos() + Code::kHeaderSize - kHeapObjectTag; in emit_code_relative_offset()
Dcode-stubs-ia32.cc3097 __ add(Operand(edx), Immediate(Code::kHeaderSize - kHeapObjectTag)); in Generate()
3571 STATIC_ASSERT(kHeapObjectTag != 0); in Generate()
4835 __ add(Operand(ecx), Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag)); in Generate()
4840 __ add(Operand(edx), Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag)); in Generate()
4850 __ add(Operand(edx), Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag)); in Generate()
4875 Immediate(SeqTwoByteString::kHeaderSize - kHeapObjectTag)); in Generate()
4881 Immediate(SeqTwoByteString::kHeaderSize - kHeapObjectTag)); in Generate()
4891 __ add(Operand(edx), Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag)); in Generate()
5308 __ add(Operand(edi), Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag)); in Generate()
5311 __ add(Operand(esi), Immediate(SeqAsciiString::kHeaderSize - kHeapObjectTag)); in Generate()
[all …]
Dstub-cache-ia32.cc69 __ add(Operand(extra), Immediate(Code::kHeaderSize - kHeapObjectTag)); in ProbeTable()
95 __ add(Operand(offset), Immediate(Code::kHeaderSize - kHeapObjectTag)); in ProbeTable()
181 kElementsStartOffset - kHeapObjectTag)); in GenerateDictionaryNegativeLookup()
3194 FixedArray::kHeaderSize - kHeapObjectTag)); in CompileLoadSpecialized()
3324 __ or_(Operand(eax), Immediate(kHeapObjectTag)); in CompileConstructStub()
/external/v8/src/
Dv8.cc175 HeapNumber::kValueOffset - kHeapObjectTag); in FillHeapNumberWithRandom()
Dheap-inl.h212 kHeapObjectTag); in FinalizeExternalString()
235 static_cast<intptr_t>(kHeapObjectTag)); in AllocateRawMap()
Dcontexts.h354 return kHeaderSize + index * kPointerSize - kHeapObjectTag; in SlotOffset()
Dobjects-inl.h826 (reinterpret_cast<byte*>(p) + offset - kHeapObjectTag)
1053 Address raw = reinterpret_cast<Address>(object) - kHeapObjectTag; in FromForwardingAddress()
1199 return reinterpret_cast<HeapObject*>(address + kHeapObjectTag); in FromAddress()
1204 return reinterpret_cast<Address>(this) - kHeapObjectTag; in address()
2180 return reinterpret_cast<ByteArray*>(address - kHeaderSize + kHeapObjectTag); in FromDataStartAddress()
2185 return reinterpret_cast<Address>(this) - kHeapObjectTag + kHeaderSize; in GetDataStartAddress()
3079 ASSERT(kHeapObjectTag == 1); \
3080 ASSERT((value & kHeapObjectTag) == 0); \
3084 ASSERT(kHeapObjectTag == 1); \
3089 (value << 1) & ~kHeapObjectTag); \
/external/v8/include/
Dv8.h3498 const int kHeapObjectTag = 1; variable
3593 kHeapObjectTag);
3632 uint8_t* addr = reinterpret_cast<uint8_t*>(ptr) + offset - kHeapObjectTag;

12