Changeset 44711 in webkit for trunk/JavaScriptCore/bytecode
- Timestamp:
- Jun 15, 2009, 10:35:32 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/bytecode
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.h
r44705 r44711 60 60 uint32_t scopeDepth; 61 61 #if ENABLE(JIT) 62 MacroAssembler::CodeLocationLabel nativeCode;62 CodeLocationLabel nativeCode; 63 63 #endif 64 64 }; … … 96 96 97 97 unsigned bytecodeIndex; 98 MacroAssembler::CodeLocationNearCall callReturnLocation;99 MacroAssembler::CodeLocationDataLabelPtr hotPathBegin;100 MacroAssembler::CodeLocationNearCall hotPathOther;98 CodeLocationNearCall callReturnLocation; 99 CodeLocationDataLabelPtr hotPathBegin; 100 CodeLocationNearCall hotPathOther; 101 101 CodeBlock* callee; 102 102 unsigned position; … … 112 112 } 113 113 114 MacroAssembler::CodeLocationCall callReturnLocation;115 MacroAssembler::CodeLocationDataLabelPtr structureLabel;114 CodeLocationCall callReturnLocation; 115 CodeLocationDataLabelPtr structureLabel; 116 116 Structure* cachedStructure; 117 117 }; … … 160 160 inline void* getStructureStubInfoReturnLocation(StructureStubInfo* structureStubInfo) 161 161 { 162 return structureStubInfo->callReturnLocation. calleeReturnAddressValue();162 return structureStubInfo->callReturnLocation.executableAddress(); 163 163 } 164 164 165 165 inline void* getCallLinkInfoReturnLocation(CallLinkInfo* callLinkInfo) 166 166 { 167 return callLinkInfo->callReturnLocation. calleeReturnAddressValue();167 return callLinkInfo->callReturnLocation.executableAddress(); 168 168 } 169 169 170 170 inline void* getMethodCallLinkInfoReturnLocation(MethodCallLinkInfo* methodCallLinkInfo) 171 171 { 172 return methodCallLinkInfo->callReturnLocation. calleeReturnAddressValue();172 return methodCallLinkInfo->callReturnLocation.executableAddress(); 173 173 } 174 174 -
trunk/JavaScriptCore/bytecode/Instruction.h
r43855 r44711 39 39 namespace JSC { 40 40 41 // *Sigh*, If the JIT is enabled we need to track the stubRountine (of type MacroAssembler::CodeLocationLabel),41 // *Sigh*, If the JIT is enabled we need to track the stubRountine (of type CodeLocationLabel), 42 42 // If the JIT is not in use we don't actually need the variable (that said, if the JIT is not in use we don't 43 43 // curently actually use PolymorphicAccessStructureLists, which we should). Anyway, this seems like the best 44 44 // solution for now - will need to something smarter if/when we actually want mixed-mode operation. 45 45 #if ENABLE(JIT) 46 typedef MacroAssembler::CodeLocationLabel PolymorphicAccessStructureListStubRoutineType;46 typedef CodeLocationLabel PolymorphicAccessStructureListStubRoutineType; 47 47 #else 48 48 typedef void* PolymorphicAccessStructureListStubRoutineType; -
trunk/JavaScriptCore/bytecode/JumpTable.h
r40854 r44711 41 41 int32_t branchOffset; 42 42 #if ENABLE(JIT) 43 MacroAssembler::CodeLocationLabel ctiOffset;43 CodeLocationLabel ctiOffset; 44 44 #endif 45 45 }; … … 49 49 StringOffsetTable offsetTable; 50 50 #if ENABLE(JIT) 51 MacroAssembler::CodeLocationLabel ctiDefault; // FIXME: it should not be necessary to store this.51 CodeLocationLabel ctiDefault; // FIXME: it should not be necessary to store this. 52 52 #endif 53 53 … … 62 62 63 63 #if ENABLE(JIT) 64 inline MacroAssembler::CodeLocationLabel ctiForValue(UString::Rep* value)64 inline CodeLocationLabel ctiForValue(UString::Rep* value) 65 65 { 66 66 StringOffsetTable::const_iterator end = offsetTable.end(); … … 78 78 int32_t min; 79 79 #if ENABLE(JIT) 80 Vector< MacroAssembler::CodeLocationLabel> ctiOffsets;81 MacroAssembler::CodeLocationLabel ctiDefault;80 Vector<CodeLocationLabel> ctiOffsets; 81 CodeLocationLabel ctiDefault; 82 82 #endif 83 83 … … 90 90 91 91 #if ENABLE(JIT) 92 inline MacroAssembler::CodeLocationLabel ctiForValue(int32_t value)92 inline CodeLocationLabel ctiForValue(int32_t value) 93 93 { 94 94 if (value >= min && static_cast<uint32_t>(value - min) < ctiOffsets.size()) -
trunk/JavaScriptCore/bytecode/StructureStubInfo.h
r40846 r44711 145 145 } u; 146 146 147 MacroAssembler::CodeLocationLabel stubRoutine;148 MacroAssembler::CodeLocationCall callReturnLocation;149 MacroAssembler::CodeLocationLabel hotPathBegin;147 CodeLocationLabel stubRoutine; 148 CodeLocationCall callReturnLocation; 149 CodeLocationLabel hotPathBegin; 150 150 }; 151 151
Note:
See TracChangeset
for help on using the changeset viewer.