| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 Register temp, | 340 Register temp, |
| 341 X87Register res_reg, | 341 X87Register res_reg, |
| 342 bool allow_undefined_as_nan, | 342 bool allow_undefined_as_nan, |
| 343 bool deoptimize_on_minus_zero, | 343 bool deoptimize_on_minus_zero, |
| 344 LEnvironment* env, | 344 LEnvironment* env, |
| 345 NumberUntagDMode mode = NUMBER_CANDIDATE_IS_ANY_TAGGED); | 345 NumberUntagDMode mode = NUMBER_CANDIDATE_IS_ANY_TAGGED); |
| 346 | 346 |
| 347 // Emits optimized code for typeof x == "y". Modifies input register. | 347 // Emits optimized code for typeof x == "y". Modifies input register. |
| 348 // Returns the condition on which a final split to | 348 // Returns the condition on which a final split to |
| 349 // true and false label should be made, to optimize fallthrough. | 349 // true and false label should be made, to optimize fallthrough. |
| 350 Condition EmitTypeofIs(Label* true_label, | 350 Condition EmitTypeofIs(LTypeofIsAndBranch* instr, Register input); |
| 351 Label* false_label, | |
| 352 Register input, | |
| 353 Handle<String> type_name); | |
| 354 | 351 |
| 355 // Emits optimized code for %_IsObject(x). Preserves input register. | 352 // Emits optimized code for %_IsObject(x). Preserves input register. |
| 356 // Returns the condition on which a final split to | 353 // Returns the condition on which a final split to |
| 357 // true and false label should be made, to optimize fallthrough. | 354 // true and false label should be made, to optimize fallthrough. |
| 358 Condition EmitIsObject(Register input, | 355 Condition EmitIsObject(Register input, |
| 359 Register temp1, | 356 Register temp1, |
| 360 Label* is_not_object, | 357 Label* is_not_object, |
| 361 Label* is_object); | 358 Label* is_object); |
| 362 | 359 |
| 363 // Emits optimized code for %_IsString(x). Preserves input register. | 360 // Emits optimized code for %_IsString(x). Preserves input register. |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 Label exit_; | 535 Label exit_; |
| 539 Label* external_exit_; | 536 Label* external_exit_; |
| 540 Label done_; | 537 Label done_; |
| 541 int instruction_index_; | 538 int instruction_index_; |
| 542 LCodeGen::X87Stack x87_stack_; | 539 LCodeGen::X87Stack x87_stack_; |
| 543 }; | 540 }; |
| 544 | 541 |
| 545 } } // namespace v8::internal | 542 } } // namespace v8::internal |
| 546 | 543 |
| 547 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 544 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |