| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 319 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
| 320 void EmitGoto(int block); | 320 void EmitGoto(int block); |
| 321 void EmitBranch(int left_block, int right_block, Condition cc); | 321 void EmitBranch(int left_block, int right_block, Condition cc); |
| 322 void EmitNumberUntagD(Register input, | 322 void EmitNumberUntagD(Register input, |
| 323 DwVfpRegister result, | 323 DwVfpRegister result, |
| 324 bool deoptimize_on_undefined, | 324 bool deoptimize_on_undefined, |
| 325 bool deoptimize_on_minus_zero, | 325 bool deoptimize_on_minus_zero, |
| 326 LEnvironment* env, | 326 LEnvironment* env, |
| 327 NumberUntagDMode mode); | 327 NumberUntagDMode mode); |
| 328 | 328 |
| 329 void DeoptIfTaggedButNotSmi(LEnvironment* environment, | |
| 330 HValue* value, | |
| 331 LOperand* operand); | |
| 332 | |
| 333 // Emits optimized code for typeof x == "y". Modifies input register. | 329 // Emits optimized code for typeof x == "y". Modifies input register. |
| 334 // Returns the condition on which a final split to | 330 // Returns the condition on which a final split to |
| 335 // true and false label should be made, to optimize fallthrough. | 331 // true and false label should be made, to optimize fallthrough. |
| 336 Condition EmitTypeofIs(Label* true_label, | 332 Condition EmitTypeofIs(Label* true_label, |
| 337 Label* false_label, | 333 Label* false_label, |
| 338 Register input, | 334 Register input, |
| 339 Handle<String> type_name); | 335 Handle<String> type_name); |
| 340 | 336 |
| 341 // Emits optimized code for %_IsObject(x). Preserves input register. | 337 // Emits optimized code for %_IsObject(x). Preserves input register. |
| 342 // Returns the condition on which a final split to | 338 // Returns the condition on which a final split to |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 LCodeGen* codegen_; | 502 LCodeGen* codegen_; |
| 507 Label entry_; | 503 Label entry_; |
| 508 Label exit_; | 504 Label exit_; |
| 509 Label* external_exit_; | 505 Label* external_exit_; |
| 510 int instruction_index_; | 506 int instruction_index_; |
| 511 }; | 507 }; |
| 512 | 508 |
| 513 } } // namespace v8::internal | 509 } } // namespace v8::internal |
| 514 | 510 |
| 515 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 511 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |