Home
last modified time | relevance | path

Searched refs:OBJECT_OFFSETOF (Results 1 – 23 of 23) sorted by relevance

/external/webkit/Source/JavaScriptCore/jit/
DJITOpcodes32_64.cpp59 load32(Address(regT0, OBJECT_OFFSETOF(JSString, m_length)), regT2); in privateCompileCTIMachineTrampolines()
104 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); in privateCompileCTIMachineTrampolines()
106 …Jump hasCodeBlock3 = branch32(GreaterThanOrEqual, Address(regT2, OBJECT_OFFSETOF(FunctionExecutabl… in privateCompileCTIMachineTrampolines()
113 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); in privateCompileCTIMachineTrampolines()
116 …loadPtr(Address(regT2, OBJECT_OFFSETOF(FunctionExecutable, m_jitCodeForCallWithArityCheck)), regT0… in privateCompileCTIMachineTrampolines()
124 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); in privateCompileCTIMachineTrampolines()
126 …Jump hasCodeBlock4 = branch32(GreaterThanOrEqual, Address(regT2, OBJECT_OFFSETOF(FunctionExecutabl… in privateCompileCTIMachineTrampolines()
133 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); in privateCompileCTIMachineTrampolines()
136 …loadPtr(Address(regT2, OBJECT_OFFSETOF(FunctionExecutable, m_jitCodeForConstructWithArityCheck)), … in privateCompileCTIMachineTrampolines()
147 poke(callFrameRegister, 1 + OBJECT_OFFSETOF(struct JITStackFrame, callFrame) / sizeof(void*)); in privateCompileCTIMachineTrampolines()
[all …]
DJITPropertyAccess32_64.cpp275 …failures.append(jit.branchTest32(NonZero, Address(regT0, OBJECT_OFFSETOF(JSString, m_fiberCount)))… in stringGetByValStubGenerator()
317 …load32(BaseIndex(regT3, regT2, TimesEight, OBJECT_OFFSETOF(ArrayStorage, m_vector[0]) + OBJECT_OFF… in emit_op_get_by_val()
318 …load32(BaseIndex(regT3, regT2, TimesEight, OBJECT_OFFSETOF(ArrayStorage, m_vector[0]) + OBJECT_OFF… in emit_op_get_by_val()
369 …32(Equal, BaseIndex(regT3, regT2, TimesEight, OBJECT_OFFSETOF(ArrayStorage, m_vector[0]) + OBJECT_… in emit_op_put_by_val()
373 …32(regT0, BaseIndex(regT3, regT2, TimesEight, OBJECT_OFFSETOF(ArrayStorage, m_vector[0]) + OBJECT_… in emit_op_put_by_val()
374 …32(regT1, BaseIndex(regT3, regT2, TimesEight, OBJECT_OFFSETOF(ArrayStorage, m_vector[0]) + OBJECT_… in emit_op_put_by_val()
378 add32(TrustedImm32(1), Address(regT3, OBJECT_OFFSETOF(ArrayStorage, m_numValuesInVector))); in emit_op_put_by_val()
379 …branch32(Below, regT2, Address(regT3, OBJECT_OFFSETOF(ArrayStorage, m_length))).linkTo(storeResult… in emit_op_put_by_val()
382 store32(regT0, Address(regT3, OBJECT_OFFSETOF(ArrayStorage, m_length))); in emit_op_put_by_val()
437 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSObject, m_propertyStorage)), regT2); in compileGetByIdHotPath()
[all …]
DJITOpcodes.cpp58 load32(Address(regT0, OBJECT_OFFSETOF(JSString, m_length)), regT0); in privateCompileCTIMachineTrampolines()
103 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); in privateCompileCTIMachineTrampolines()
105 …Jump hasCodeBlock3 = branch32(GreaterThanOrEqual, Address(regT2, OBJECT_OFFSETOF(FunctionExecutabl… in privateCompileCTIMachineTrampolines()
112 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); in privateCompileCTIMachineTrampolines()
115 …loadPtr(Address(regT2, OBJECT_OFFSETOF(FunctionExecutable, m_jitCodeForCallWithArityCheck)), regT0… in privateCompileCTIMachineTrampolines()
123 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); in privateCompileCTIMachineTrampolines()
125 …Jump hasCodeBlock4 = branch32(GreaterThanOrEqual, Address(regT2, OBJECT_OFFSETOF(FunctionExecutabl… in privateCompileCTIMachineTrampolines()
132 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_executable)), regT2); in privateCompileCTIMachineTrampolines()
135 …loadPtr(Address(regT2, OBJECT_OFFSETOF(FunctionExecutable, m_jitCodeForConstructWithArityCheck)), … in privateCompileCTIMachineTrampolines()
146 poke(callFrameRegister, 1 + OBJECT_OFFSETOF(struct JITStackFrame, callFrame) / sizeof(void*)); in privateCompileCTIMachineTrampolines()
[all …]
DSpecializedThunkJIT.h65 … m_failures.append(branchTest32(NonZero, Address(dst, OBJECT_OFFSETOF(JSString, m_fiberCount)))); in loadJSStringArgument()
101 …loadPtr(Address(stackPointerRegister, OBJECT_OFFSETOF(JSValue, u.asBits.tag) - sizeof(double)), re… in returnDouble()
102 …loadPtr(Address(stackPointerRegister, OBJECT_OFFSETOF(JSValue, u.asBits.payload) - sizeof(double))… in returnDouble()
DJSInterfaceJIT.h220 static unsigned jsStringLengthOffset() { return OBJECT_OFFSETOF(JSString, m_length); } in jsStringLengthOffset()
221 static unsigned jsStringValueOffset() { return OBJECT_OFFSETOF(JSString, m_value); } in jsStringValueOffset()
247 …, (static_cast<unsigned>(virtualRegisterIndex) * sizeof(Register)) + OBJECT_OFFSETOF(JSValue, u.as… in tagFor()
253 …, (static_cast<unsigned>(virtualRegisterIndex) * sizeof(Register)) + OBJECT_OFFSETOF(JSValue, u.as… in payloadFor()
335 …, (static_cast<unsigned>(virtualRegisterIndex) * sizeof(Register)) + OBJECT_OFFSETOF(EncodedValueD… in intPayloadFor()
340 …, (static_cast<unsigned>(virtualRegisterIndex) * sizeof(Register)) + OBJECT_OFFSETOF(EncodedValueD… in intTagFor()
DJITPropertyAccess.cpp58 …failures.append(jit.branchTest32(NonZero, Address(regT0, OBJECT_OFFSETOF(JSString, m_fiberCount)))… in stringGetByValStubGenerator()
107 loadPtr(BaseIndex(regT2, regT1, ScalePtr, OBJECT_OFFSETOF(ArrayStorage, m_vector[0])), regT0); in emit_op_get_by_val()
143 loadPtr(Address(base, OBJECT_OFFSETOF(JSObject, m_propertyStorage)), scratch); in compileGetDirectOffset()
163 …addSlowCase(branchPtr(NotEqual, regT2, Address(regT1, OBJECT_OFFSETOF(JSPropertyNameIterator, m_ca… in emit_op_get_by_pname()
166 …addSlowCase(branch32(AboveOrEqual, regT3, Address(regT1, OBJECT_OFFSETOF(JSPropertyNameIterator, m… in emit_op_get_by_pname()
204 …Jump empty = branchTestPtr(Zero, BaseIndex(regT2, regT1, ScalePtr, OBJECT_OFFSETOF(ArrayStorage, m… in emit_op_put_by_val()
208 storePtr(regT0, BaseIndex(regT2, regT1, ScalePtr, OBJECT_OFFSETOF(ArrayStorage, m_vector[0]))); in emit_op_put_by_val()
212 add32(TrustedImm32(1), Address(regT2, OBJECT_OFFSETOF(ArrayStorage, m_numValuesInVector))); in emit_op_put_by_val()
213 …branch32(Below, regT1, Address(regT2, OBJECT_OFFSETOF(ArrayStorage, m_length))).linkTo(storeResult… in emit_op_put_by_val()
217 store32(regT0, Address(regT2, OBJECT_OFFSETOF(ArrayStorage, m_length))); in emit_op_put_by_val()
[all …]
DJITStubs.cpp766 …ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, preservedReturnAddress) == PRESERVED_RETURN_ADDRESS_O… in JITThunks()
767 ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, preservedR4) == PRESERVED_R4_OFFSET); in JITThunks()
768 ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, preservedR5) == PRESERVED_R5_OFFSET); in JITThunks()
769 ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, preservedR6) == PRESERVED_R6_OFFSET); in JITThunks()
771 ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, registerFile) == REGISTER_FILE_OFFSET); in JITThunks()
772 ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, callFrame) == CALLFRAME_OFFSET); in JITThunks()
774 …ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, enabledProfilerReference) == ENABLE_PROFILER_REFERENC… in JITThunks()
776 … ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, thunkReturnAddress) == THUNK_RETURN_ADDRESS_OFFSET); in JITThunks()
780 … ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, thunkReturnAddress) == THUNK_RETURN_ADDRESS_OFFSET); in JITThunks()
781 ASSERT(OBJECT_OFFSETOF(struct JITStackFrame, preservedR4) == PRESERVEDR4_OFFSET); in JITThunks()
[all …]
DJITCall.cpp52 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_scopeChain)), regT3); // scopeChain in compileOpCallInitializeCallFrame()
203 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_scopeChain)), regT1); // newScopeChain in compileOpCall()
DJITCall32_64.cpp52 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_scopeChain)), regT3); // scopeChain in compileOpCallInitializeCallFrame()
283 loadPtr(Address(regT0, OBJECT_OFFSETOF(JSFunction, m_scopeChain)), regT2); in compileOpCall()
DJITInlineMethods.h88 failures.append(branchTest32(NonZero, Address(src, OBJECT_OFFSETOF(JSString, m_fiberCount)))); in emitLoadCharacterString()
243 poke(callFrameRegister, OBJECT_OFFSETOF(struct JITStackFrame, callFrame) / sizeof(void*)); in restoreArgumentReference()
459 …convertInt32ToDouble(AbsoluteAddress(bytePointer + OBJECT_OFFSETOF(JSValue, u.asBits.payload)), va… in emitLoadInt32ToDouble()
DJITStubs.h257 #define JITSTACKFRAME_ARGS_INDEX (OBJECT_OFFSETOF(JITStackFrame, args) / sizeof(void*))
/external/webkit/Source/JavaScriptCore/runtime/
DJSTypeInfo.h77 return OBJECT_OFFSETOF(TypeInfo, m_flags); in flagsOffset()
82 return OBJECT_OFFSETOF(TypeInfo, m_type); in typeOffset()
DStructure.h140 return OBJECT_OFFSETOF(Structure, m_prototype); in prototypeOffset()
145 return OBJECT_OFFSETOF(Structure, m_typeInfo) + TypeInfo::flagsOffset(); in typeInfoFlagsOffset()
150 return OBJECT_OFFSETOF(Structure, m_typeInfo) + TypeInfo::typeOffset(); in typeInfoTypeOffset()
DJSArray.h135 return OBJECT_OFFSETOF(JSArray, m_storage); in storageOffset()
140 return OBJECT_OFFSETOF(JSArray, m_vectorLength); in vectorLengthOffset()
DJSObject.h341 ASSERT(!(OBJECT_OFFSETOF(JSNonFinalObject, m_inlineStorage) % sizeof(double))); in JSNonFinalObject()
369 ASSERT(OBJECT_OFFSETOF(JSFinalObject, m_inlineStorage) % sizeof(double) == 0); in JSFinalObject()
380 …ASSERT(OBJECT_OFFSETOF(JSFinalObject, m_inlineStorage) == OBJECT_OFFSETOF(JSNonFinalObject, m_inli… in offsetOfInlineStorage()
381 return OBJECT_OFFSETOF(JSFinalObject, m_inlineStorage); in offsetOfInlineStorage()
DJSCell.h146 return OBJECT_OFFSETOF(JSCell, m_structure); in structureOffset()
/external/webkit/Source/JavaScriptCore/wtf/
DByteArray.cpp34 unsigned char* buffer = new unsigned char[size + OBJECT_OFFSETOF(ByteArray, m_data)]; in create()
DStdLibExtras.h48 #define OBJECT_OFFSETOF(class, field) (reinterpret_cast<ptrdiff_t>(&(reinterpret_cast<class*>(0x400… macro
/external/webkit/Source/JavaScriptCore/dfg/
DDFGSpeculativeJIT.cpp574 …embler::BaseIndex(storageReg, propertyReg, MacroAssembler::ScalePtr, OBJECT_OFFSETOF(ArrayStorage,… in compile()
601 …embler::BaseIndex(storageReg, propertyReg, MacroAssembler::ScalePtr, OBJECT_OFFSETOF(ArrayStorage,… in compile()
602 …m_jit.add32(TrustedImm32(1), MacroAssembler::Address(storageReg, OBJECT_OFFSETOF(ArrayStorage, m_n… in compile()
605 …roAssembler::Below, propertyReg, MacroAssembler::Address(storageReg, OBJECT_OFFSETOF(ArrayStorage,… in compile()
607 …m_jit.store32(propertyReg, MacroAssembler::Address(storageReg, OBJECT_OFFSETOF(ArrayStorage, m_len… in compile()
614 …embler::BaseIndex(storageReg, propertyReg, MacroAssembler::ScalePtr, OBJECT_OFFSETOF(ArrayStorage,… in compile()
635 …embler::BaseIndex(storageReg, propertyReg, MacroAssembler::ScalePtr, OBJECT_OFFSETOF(ArrayStorage,… in compile()
DDFGJITCompiler.cpp326 poke(callFrameRegister, OBJECT_OFFSETOF(struct JITStackFrame, callFrame) / sizeof(void*)); in compileFunction()
340 poke(callFrameRegister, OBJECT_OFFSETOF(struct JITStackFrame, callFrame) / sizeof(void*)); in compileFunction()
/external/webkit/Source/JavaScriptCore/wtf/text/
DStringImpl.h183 static unsigned dataOffset() { return OBJECT_OFFSETOF(StringImpl, m_data); } in dataOffset()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2010-05-2423036 * jit/JIT.h: Moved OBJECT_OFFSETOF definition to StdLibExtras.h because
23054 OBJECT_OFFSETOF is our new macro name. (FIELD_OFFSET conflicts with a
23067 * wtf/StdLibExtras.h: Moved OBJECT_OFFSETOF definition here.
DChangeLog-2011-02-1622646 Using OBJECT_OFFSETOF macro instead of objectof to bypass access to