| 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 int arguments, | 266 int arguments, |
| 267 Safepoint::DeoptMode mode); | 267 Safepoint::DeoptMode mode); |
| 268 void RecordPosition(int position); | 268 void RecordPosition(int position); |
| 269 | 269 |
| 270 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 270 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
| 271 void EmitGoto(int block); | 271 void EmitGoto(int block); |
| 272 void EmitBranch(int left_block, int right_block, Condition cc); | 272 void EmitBranch(int left_block, int right_block, Condition cc); |
| 273 void EmitNumberUntagD(Register input, | 273 void EmitNumberUntagD(Register input, |
| 274 DoubleRegister result, | 274 DoubleRegister result, |
| 275 bool deoptimize_on_undefined, | 275 bool deoptimize_on_undefined, |
| 276 bool deoptimize_on_minus_zero, |
| 276 LEnvironment* env); | 277 LEnvironment* env); |
| 277 | 278 |
| 278 // Emits optimized code for typeof x == "y". Modifies input register. | 279 // Emits optimized code for typeof x == "y". Modifies input register. |
| 279 // Returns the condition on which a final split to | 280 // Returns the condition on which a final split to |
| 280 // true and false label should be made, to optimize fallthrough. | 281 // true and false label should be made, to optimize fallthrough. |
| 281 Condition EmitTypeofIs(Label* true_label, | 282 Condition EmitTypeofIs(Label* true_label, |
| 282 Label* false_label, | 283 Label* false_label, |
| 283 Register input, | 284 Register input, |
| 284 Handle<String> type_name); | 285 Handle<String> type_name); |
| 285 | 286 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 LCodeGen* codegen_; | 425 LCodeGen* codegen_; |
| 425 Label entry_; | 426 Label entry_; |
| 426 Label exit_; | 427 Label exit_; |
| 427 Label* external_exit_; | 428 Label* external_exit_; |
| 428 int instruction_index_; | 429 int instruction_index_; |
| 429 }; | 430 }; |
| 430 | 431 |
| 431 } } // namespace v8::internal | 432 } } // namespace v8::internal |
| 432 | 433 |
| 433 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 434 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |