OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 LOperand* value, | 126 LOperand* value, |
127 IntegerSignedness signedness); | 127 IntegerSignedness signedness); |
128 | 128 |
129 void DoDeferredTaggedToI(LTaggedToI* instr); | 129 void DoDeferredTaggedToI(LTaggedToI* instr); |
130 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); | 130 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); |
131 void DoDeferredStackCheck(LStackCheck* instr); | 131 void DoDeferredStackCheck(LStackCheck* instr); |
132 void DoDeferredRandom(LRandom* instr); | 132 void DoDeferredRandom(LRandom* instr); |
133 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 133 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
134 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); | 134 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
135 void DoDeferredAllocateObject(LAllocateObject* instr); | 135 void DoDeferredAllocateObject(LAllocateObject* instr); |
| 136 void DoDeferredAllocate(LAllocate* instr); |
136 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 137 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
137 Label* map_check); | 138 Label* map_check); |
138 | 139 |
139 void DoCheckMapCommon(Register map_reg, Handle<Map> map, | 140 void DoCheckMapCommon(Register map_reg, Handle<Map> map, |
140 CompareMapMode mode, LEnvironment* env); | 141 CompareMapMode mode, LEnvironment* env); |
141 | 142 |
142 // Parallel move support. | 143 // Parallel move support. |
143 void DoParallelMove(LParallelMove* move); | 144 void DoParallelMove(LParallelMove* move); |
144 void DoGap(LGap* instr); | 145 void DoGap(LGap* instr); |
145 | 146 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 void EmitBranchF(int left_block, | 320 void EmitBranchF(int left_block, |
320 int right_block, | 321 int right_block, |
321 Condition cc, | 322 Condition cc, |
322 FPURegister src1, | 323 FPURegister src1, |
323 FPURegister src2); | 324 FPURegister src2); |
324 void EmitCmpI(LOperand* left, LOperand* right); | 325 void EmitCmpI(LOperand* left, LOperand* right); |
325 void EmitNumberUntagD(Register input, | 326 void EmitNumberUntagD(Register input, |
326 DoubleRegister result, | 327 DoubleRegister result, |
327 bool deoptimize_on_undefined, | 328 bool deoptimize_on_undefined, |
328 bool deoptimize_on_minus_zero, | 329 bool deoptimize_on_minus_zero, |
329 LEnvironment* env); | 330 LEnvironment* env, |
| 331 NumberUntagDMode mode); |
330 | 332 |
331 void DeoptIfTaggedButNotSmi(LEnvironment* environment, | 333 void DeoptIfTaggedButNotSmi(LEnvironment* environment, |
332 HValue* value, | 334 HValue* value, |
333 LOperand* operand); | 335 LOperand* operand); |
334 | 336 |
335 // Emits optimized code for typeof x == "y". Modifies input register. | 337 // Emits optimized code for typeof x == "y". Modifies input register. |
336 // Returns the condition on which a final split to | 338 // Returns the condition on which a final split to |
337 // true and false label should be made, to optimize fallthrough. | 339 // true and false label should be made, to optimize fallthrough. |
338 // Returns two registers in cmp1 and cmp2 that can be used in the | 340 // Returns two registers in cmp1 and cmp2 that can be used in the |
339 // Branch instruction after EmitTypeofIs. | 341 // Branch instruction after EmitTypeofIs. |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 LCodeGen* codegen_; | 503 LCodeGen* codegen_; |
502 Label entry_; | 504 Label entry_; |
503 Label exit_; | 505 Label exit_; |
504 Label* external_exit_; | 506 Label* external_exit_; |
505 int instruction_index_; | 507 int instruction_index_; |
506 }; | 508 }; |
507 | 509 |
508 } } // namespace v8::internal | 510 } } // namespace v8::internal |
509 | 511 |
510 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 512 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |