| 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 int LastSafepointEnd() { | 255 int LastSafepointEnd() { |
| 256 return static_cast<int>(safepoints_.GetPcAfterGap()); | 256 return static_cast<int>(safepoints_.GetPcAfterGap()); |
| 257 } | 257 } |
| 258 | 258 |
| 259 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 259 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
| 260 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); | 260 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); |
| 261 void EmitBranch(int left_block, int right_block, Condition cc); | 261 void EmitBranch(int left_block, int right_block, Condition cc); |
| 262 void EmitCmpI(LOperand* left, LOperand* right); | 262 void EmitCmpI(LOperand* left, LOperand* right); |
| 263 void EmitNumberUntagD(Register input, | 263 void EmitNumberUntagD(Register input, |
| 264 DoubleRegister result, | 264 DoubleRegister result, |
| 265 bool deoptimize_on_undefined, |
| 265 LEnvironment* env); | 266 LEnvironment* env); |
| 266 | 267 |
| 267 // Emits optimized code for typeof x == "y". Modifies input register. | 268 // Emits optimized code for typeof x == "y". Modifies input register. |
| 268 // Returns the condition on which a final split to | 269 // Returns the condition on which a final split to |
| 269 // true and false label should be made, to optimize fallthrough. | 270 // true and false label should be made, to optimize fallthrough. |
| 270 Condition EmitTypeofIs(Label* true_label, Label* false_label, | 271 Condition EmitTypeofIs(Label* true_label, Label* false_label, |
| 271 Register input, Handle<String> type_name); | 272 Register input, Handle<String> type_name); |
| 272 | 273 |
| 273 // Emits optimized code for %_IsObject(x). Preserves input register. | 274 // Emits optimized code for %_IsObject(x). Preserves input register. |
| 274 // Returns the condition on which a final split to | 275 // Returns the condition on which a final split to |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 private: | 382 private: |
| 382 LCodeGen* codegen_; | 383 LCodeGen* codegen_; |
| 383 Label entry_; | 384 Label entry_; |
| 384 Label exit_; | 385 Label exit_; |
| 385 Label* external_exit_; | 386 Label* external_exit_; |
| 386 }; | 387 }; |
| 387 | 388 |
| 388 } } // namespace v8::internal | 389 } } // namespace v8::internal |
| 389 | 390 |
| 390 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 391 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |