| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 // Finish the code by setting stack height, safepoint, and bailout | 85 // Finish the code by setting stack height, safepoint, and bailout |
| 86 // information on it. | 86 // information on it. |
| 87 void FinishCode(Handle<Code> code); | 87 void FinishCode(Handle<Code> code); |
| 88 | 88 |
| 89 // Deferred code support. | 89 // Deferred code support. |
| 90 void DoDeferredNumberTagD(LNumberTagD* instr); | 90 void DoDeferredNumberTagD(LNumberTagD* instr); |
| 91 void DoDeferredNumberTagI(LNumberTagI* instr); | 91 void DoDeferredNumberTagI(LNumberTagI* instr); |
| 92 void DoDeferredTaggedToI(LTaggedToI* instr); | 92 void DoDeferredTaggedToI(LTaggedToI* instr); |
| 93 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); | 93 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); |
| 94 void DoDeferredStackCheck(LGoto* instr); | 94 void DoDeferredStackCheck(LGoto* instr); |
| 95 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
| 95 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 96 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
| 96 Label* map_check); | 97 Label* map_check); |
| 97 | 98 |
| 98 // Parallel move support. | 99 // Parallel move support. |
| 99 void DoParallelMove(LParallelMove* move); | 100 void DoParallelMove(LParallelMove* move); |
| 100 | 101 |
| 101 // Emit frame translation commands for an environment. | 102 // Emit frame translation commands for an environment. |
| 102 void WriteTranslation(LEnvironment* environment, Translation* translation); | 103 void WriteTranslation(LEnvironment* environment, Translation* translation); |
| 103 | 104 |
| 104 // Declare methods that deal with the individual node types. | 105 // Declare methods that deal with the individual node types. |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 void PopulateDeoptimizationData(Handle<Code> code); | 180 void PopulateDeoptimizationData(Handle<Code> code); |
| 180 int DefineDeoptimizationLiteral(Handle<Object> literal); | 181 int DefineDeoptimizationLiteral(Handle<Object> literal); |
| 181 | 182 |
| 182 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 183 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
| 183 | 184 |
| 184 Register ToRegister(int index) const; | 185 Register ToRegister(int index) const; |
| 185 XMMRegister ToDoubleRegister(int index) const; | 186 XMMRegister ToDoubleRegister(int index) const; |
| 186 int ToInteger32(LConstantOperand* op) const; | 187 int ToInteger32(LConstantOperand* op) const; |
| 187 | 188 |
| 188 // Specific math operations - used from DoUnaryMathOperation. | 189 // Specific math operations - used from DoUnaryMathOperation. |
| 190 void EmitIntegerMathAbs(LUnaryMathOperation* instr); |
| 189 void DoMathAbs(LUnaryMathOperation* instr); | 191 void DoMathAbs(LUnaryMathOperation* instr); |
| 190 void DoMathFloor(LUnaryMathOperation* instr); | 192 void DoMathFloor(LUnaryMathOperation* instr); |
| 191 void DoMathRound(LUnaryMathOperation* instr); | 193 void DoMathRound(LUnaryMathOperation* instr); |
| 192 void DoMathSqrt(LUnaryMathOperation* instr); | 194 void DoMathSqrt(LUnaryMathOperation* instr); |
| 193 void DoMathPowHalf(LUnaryMathOperation* instr); | 195 void DoMathPowHalf(LUnaryMathOperation* instr); |
| 194 void DoMathLog(LUnaryMathOperation* instr); | 196 void DoMathLog(LUnaryMathOperation* instr); |
| 195 void DoMathCos(LUnaryMathOperation* instr); | 197 void DoMathCos(LUnaryMathOperation* instr); |
| 196 void DoMathSin(LUnaryMathOperation* instr); | 198 void DoMathSin(LUnaryMathOperation* instr); |
| 197 | 199 |
| 198 // Support for recording safepoint and position information. | 200 // Support for recording safepoint and position information. |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 private: | 276 private: |
| 275 LCodeGen* codegen_; | 277 LCodeGen* codegen_; |
| 276 Label entry_; | 278 Label entry_; |
| 277 Label exit_; | 279 Label exit_; |
| 278 Label* external_exit_; | 280 Label* external_exit_; |
| 279 }; | 281 }; |
| 280 | 282 |
| 281 } } // namespace v8::internal | 283 } } // namespace v8::internal |
| 282 | 284 |
| 283 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 285 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |