Changeset 37386 in webkit for trunk/JavaScriptCore/VM/CTI.h
- Timestamp:
- Oct 7, 2008, 1:27:50 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CTI.h
r37316 r37386 46 46 #endif 47 47 48 #define CTI_ARGS_2ndResult 0x0849 50 48 #define CTI_ARGS_code 0x0C 51 49 #define CTI_ARGS_registerFile 0x0D … … 63 61 64 62 #define ARG_setR(newR) (*(Register**)&(ARGS)[CTI_ARGS_r] = newR) 65 #define ARG_set2ndResult(new2ndResult) (*(JSValue**)&(ARGS)[CTI_ARGS_2ndResult] = new2ndResult)66 63 67 64 #define ARG_src1 ((JSValue*)((ARGS)[1])) … … 109 106 struct OperandTypes; 110 107 108 struct VoidPtrPair { void* first; void* second; }; 109 111 110 typedef JSValue* (*CTIHelper_j)(CTI_ARGS); 112 111 typedef JSPropertyNameIterator* (*CTIHelper_p)(CTI_ARGS); … … 114 113 typedef void* (*CTIHelper_s)(CTI_ARGS); 115 114 typedef int (*CTIHelper_b)(CTI_ARGS); 115 typedef VoidPtrPair (*CTIHelper_2)(CTI_ARGS); 116 116 117 117 struct CallRecord { … … 153 153 154 154 CallRecord(X86Assembler::JmpSrc f, CTIHelper_b t, unsigned i) 155 : from(f) 156 , to((void*)t) 157 , opcodeIndex(i) 158 { 159 } 160 161 CallRecord(X86Assembler::JmpSrc f, CTIHelper_2 t, unsigned i) 155 162 : from(f) 156 163 , to((void*)t) … … 351 358 enum CompileOpCallType { OpCallNormal, OpCallEval, OpConstruct }; 352 359 void compileOpCall(Instruction* instruction, unsigned i, CompileOpCallType type = OpCallNormal); 360 void compileOpCallInitializeCallFrame(unsigned callee, unsigned argCount); 353 361 enum CompileOpStrictEqType { OpStrictEq, OpNStrictEq }; 354 362 void compileOpStrictEq(Instruction* instruction, unsigned i, CompileOpStrictEqType type); … … 393 401 X86Assembler::JmpSrc emitCall(unsigned opcodeIndex, CTIHelper_j); 394 402 X86Assembler::JmpSrc emitCall(unsigned opcodeIndex, CTIHelper_p); 395 X86Assembler::JmpSrc emitCall(unsigned opcodeIndex, CTIHelper_b);396 403 X86Assembler::JmpSrc emitCall(unsigned opcodeIndex, CTIHelper_v); 397 404 X86Assembler::JmpSrc emitCall(unsigned opcodeIndex, CTIHelper_s); 398 405 X86Assembler::JmpSrc emitCall(unsigned opcodeIndex, CTIHelper_b); 406 X86Assembler::JmpSrc emitCall(unsigned opcodeIndex, CTIHelper_2); 407 399 408 void emitGetVariableObjectRegister(X86Assembler::RegisterID variableObject, int index, X86Assembler::RegisterID dst); 400 409 void emitPutVariableObjectRegister(X86Assembler::RegisterID src, X86Assembler::RegisterID variableObject, int index);
Note:
See TracChangeset
for help on using the changeset viewer.