| 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 Register src1, | 336 Register src1, |
| 337 const Operand& src2); | 337 const Operand& src2); |
| 338 void EmitBranchF(int left_block, | 338 void EmitBranchF(int left_block, |
| 339 int right_block, | 339 int right_block, |
| 340 Condition cc, | 340 Condition cc, |
| 341 FPURegister src1, | 341 FPURegister src1, |
| 342 FPURegister src2); | 342 FPURegister src2); |
| 343 void EmitCmpI(LOperand* left, LOperand* right); | 343 void EmitCmpI(LOperand* left, LOperand* right); |
| 344 void EmitNumberUntagD(Register input, | 344 void EmitNumberUntagD(Register input, |
| 345 DoubleRegister result, | 345 DoubleRegister result, |
| 346 bool deoptimize_on_undefined, | 346 bool allow_undefined_as_nan, |
| 347 bool deoptimize_on_minus_zero, | 347 bool deoptimize_on_minus_zero, |
| 348 LEnvironment* env, | 348 LEnvironment* env, |
| 349 NumberUntagDMode mode); | 349 NumberUntagDMode mode); |
| 350 | 350 |
| 351 // Emits optimized code for typeof x == "y". Modifies input register. | 351 // Emits optimized code for typeof x == "y". Modifies input register. |
| 352 // Returns the condition on which a final split to | 352 // Returns the condition on which a final split to |
| 353 // true and false label should be made, to optimize fallthrough. | 353 // true and false label should be made, to optimize fallthrough. |
| 354 // Returns two registers in cmp1 and cmp2 that can be used in the | 354 // Returns two registers in cmp1 and cmp2 that can be used in the |
| 355 // Branch instruction after EmitTypeofIs. | 355 // Branch instruction after EmitTypeofIs. |
| 356 Condition EmitTypeofIs(Label* true_label, | 356 Condition EmitTypeofIs(Label* true_label, |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 LCodeGen* codegen_; | 507 LCodeGen* codegen_; |
| 508 Label entry_; | 508 Label entry_; |
| 509 Label exit_; | 509 Label exit_; |
| 510 Label* external_exit_; | 510 Label* external_exit_; |
| 511 int instruction_index_; | 511 int instruction_index_; |
| 512 }; | 512 }; |
| 513 | 513 |
| 514 } } // namespace v8::internal | 514 } } // namespace v8::internal |
| 515 | 515 |
| 516 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 516 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |