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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 const Operand& src2); | 273 const Operand& src2); |
274 void EmitBranchF(int left_block, | 274 void EmitBranchF(int left_block, |
275 int right_block, | 275 int right_block, |
276 Condition cc, | 276 Condition cc, |
277 FPURegister src1, | 277 FPURegister src1, |
278 FPURegister src2); | 278 FPURegister src2); |
279 void EmitCmpI(LOperand* left, LOperand* right); | 279 void EmitCmpI(LOperand* left, LOperand* right); |
280 void EmitNumberUntagD(Register input, | 280 void EmitNumberUntagD(Register input, |
281 DoubleRegister result, | 281 DoubleRegister result, |
282 bool deoptimize_on_undefined, | 282 bool deoptimize_on_undefined, |
| 283 bool deoptimize_on_minus_zero, |
283 LEnvironment* env); | 284 LEnvironment* env); |
284 | 285 |
285 // Emits optimized code for typeof x == "y". Modifies input register. | 286 // Emits optimized code for typeof x == "y". Modifies input register. |
286 // Returns the condition on which a final split to | 287 // Returns the condition on which a final split to |
287 // true and false label should be made, to optimize fallthrough. | 288 // true and false label should be made, to optimize fallthrough. |
288 // Returns two registers in cmp1 and cmp2 that can be used in the | 289 // Returns two registers in cmp1 and cmp2 that can be used in the |
289 // Branch instruction after EmitTypeofIs. | 290 // Branch instruction after EmitTypeofIs. |
290 Condition EmitTypeofIs(Label* true_label, | 291 Condition EmitTypeofIs(Label* true_label, |
291 Label* false_label, | 292 Label* false_label, |
292 Register input, | 293 Register input, |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 LCodeGen* codegen_; | 437 LCodeGen* codegen_; |
437 Label entry_; | 438 Label entry_; |
438 Label exit_; | 439 Label exit_; |
439 Label* external_exit_; | 440 Label* external_exit_; |
440 int instruction_index_; | 441 int instruction_index_; |
441 }; | 442 }; |
442 | 443 |
443 } } // namespace v8::internal | 444 } } // namespace v8::internal |
444 | 445 |
445 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 446 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |