| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 void privateCompileGetByIdProto(StructureID*, StructureID* prototypeStru
ctureID, size_t cachedOffset, void* returnAddress, CallFrame* callFrame); | 358 void privateCompileGetByIdProto(StructureID*, StructureID* prototypeStru
ctureID, size_t cachedOffset, void* returnAddress, CallFrame* callFrame); |
| 359 void privateCompileGetByIdChain(StructureID*, StructureIDChain*, size_t
count, size_t cachedOffset, void* returnAddress, CallFrame* callFrame); | 359 void privateCompileGetByIdChain(StructureID*, StructureIDChain*, size_t
count, size_t cachedOffset, void* returnAddress, CallFrame* callFrame); |
| 360 void privateCompilePutByIdReplace(StructureID*, size_t cachedOffset, voi
d* returnAddress); | 360 void privateCompilePutByIdReplace(StructureID*, size_t cachedOffset, voi
d* returnAddress); |
| 361 void privateCompilePutByIdTransition(StructureID*, StructureID*, size_t
cachedOffset, StructureIDChain*, void* returnAddress); | 361 void privateCompilePutByIdTransition(StructureID*, StructureID*, size_t
cachedOffset, StructureIDChain*, void* returnAddress); |
| 362 | 362 |
| 363 void privateCompileCTIMachineTrampolines(); | 363 void privateCompileCTIMachineTrampolines(); |
| 364 void privateCompilePatchGetArrayLength(void* returnAddress); | 364 void privateCompilePatchGetArrayLength(void* returnAddress); |
| 365 | 365 |
| 366 void compileOpCall(OpcodeID, Instruction* instruction, unsigned i, unsig
ned callLinkInfoIndex); | 366 void compileOpCall(OpcodeID, Instruction* instruction, unsigned i, unsig
ned callLinkInfoIndex); |
| 367 void compileOpCallInitializeCallFrame(unsigned callee, unsigned argCount
); | 367 void compileOpCallInitializeCallFrame(unsigned callee, unsigned argCount
); |
| 368 void compileOpCallSetupArgs(Instruction* instruction, bool isConstruct,
bool isEval); | 368 void compileOpCallSetupArgs(Instruction*); |
| 369 void compileOpCallEvalSetupArgs(Instruction*); |
| 370 void compileOpConstructSetupArgs(Instruction*); |
| 369 enum CompileOpStrictEqType { OpStrictEq, OpNStrictEq }; | 371 enum CompileOpStrictEqType { OpStrictEq, OpNStrictEq }; |
| 370 void compileOpStrictEq(Instruction* instruction, unsigned i, CompileOpSt
rictEqType type); | 372 void compileOpStrictEq(Instruction* instruction, unsigned i, CompileOpSt
rictEqType type); |
| 371 void putDoubleResultToJSNumberCellOrJSImmediate(X86::XMMRegisterID xmmSo
urce, X86::RegisterID jsNumberCell, unsigned dst, X86Assembler::JmpSrc* wroteJSN
umberCell, X86::XMMRegisterID tempXmm, X86::RegisterID tempReg1, X86::RegisterI
D tempReg2); | 373 void putDoubleResultToJSNumberCellOrJSImmediate(X86::XMMRegisterID xmmSo
urce, X86::RegisterID jsNumberCell, unsigned dst, X86Assembler::JmpSrc* wroteJSN
umberCell, X86::XMMRegisterID tempXmm, X86::RegisterID tempReg1, X86::RegisterI
D tempReg2); |
| 372 void compileBinaryArithOp(OpcodeID, unsigned dst, unsigned src1, unsigne
d src2, OperandTypes opi, unsigned i); | 374 void compileBinaryArithOp(OpcodeID, unsigned dst, unsigned src1, unsigne
d src2, OperandTypes opi, unsigned i); |
| 373 void compileBinaryArithOpSlowCase(Instruction*, OpcodeID, Vector<SlowCas
eEntry>::iterator& iter, unsigned dst, unsigned src1, unsigned src2, OperandType
s opi, unsigned i); | 375 void compileBinaryArithOpSlowCase(Instruction*, OpcodeID, Vector<SlowCas
eEntry>::iterator& iter, unsigned dst, unsigned src1, unsigned src2, OperandType
s opi, unsigned i); |
| 374 | 376 |
| 375 void emitGetArg(int src, X86Assembler::RegisterID dst); | 377 void emitGetArg(int src, X86Assembler::RegisterID dst); |
| 376 void emitGetPutArg(unsigned src, unsigned offset, X86Assembler::Register
ID scratch); | 378 void emitGetPutArg(unsigned src, unsigned offset, X86Assembler::Register
ID scratch); |
| 377 void emitPutArg(X86Assembler::RegisterID src, unsigned offset); | 379 void emitPutArg(X86Assembler::RegisterID src, unsigned offset); |
| 378 void emitPutArgConstant(unsigned value, unsigned offset); | 380 void emitPutArgConstant(unsigned value, unsigned offset); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 | 458 |
| 457 // This limit comes from the limit set in PCRE | 459 // This limit comes from the limit set in PCRE |
| 458 static const int MaxPatternSize = (1 << 16); | 460 static const int MaxPatternSize = (1 << 16); |
| 459 | 461 |
| 460 }; | 462 }; |
| 461 } | 463 } |
| 462 | 464 |
| 463 #endif // ENABLE(CTI) | 465 #endif // ENABLE(CTI) |
| 464 | 466 |
| 465 #endif // CTI_h | 467 #endif // CTI_h |
| OLD | NEW |