| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 int deoptimization_index); | 222 int deoptimization_index); |
| 223 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); | 223 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); |
| 224 void RecordSafepoint(int deoptimization_index); | 224 void RecordSafepoint(int deoptimization_index); |
| 225 void RecordSafepointWithRegisters(LPointerMap* pointers, | 225 void RecordSafepointWithRegisters(LPointerMap* pointers, |
| 226 int arguments, | 226 int arguments, |
| 227 int deoptimization_index); | 227 int deoptimization_index); |
| 228 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers, | 228 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers, |
| 229 int arguments, | 229 int arguments, |
| 230 int deoptimization_index); | 230 int deoptimization_index); |
| 231 void RecordPosition(int position); | 231 void RecordPosition(int position); |
| 232 int LastSafepointEnd() { |
| 233 return static_cast<int>(safepoints_.GetPcAfterGap()); |
| 234 } |
| 232 | 235 |
| 233 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 236 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
| 234 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); | 237 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); |
| 235 void EmitBranch(int left_block, int right_block, Condition cc); | 238 void EmitBranch(int left_block, int right_block, Condition cc); |
| 236 void EmitCmpI(LOperand* left, LOperand* right); | 239 void EmitCmpI(LOperand* left, LOperand* right); |
| 237 void EmitNumberUntagD(Register input, | 240 void EmitNumberUntagD(Register input, |
| 238 DoubleRegister result, | 241 DoubleRegister result, |
| 239 LEnvironment* env); | 242 LEnvironment* env); |
| 240 | 243 |
| 241 // Emits optimized code for typeof x == "y". Modifies input register. | 244 // Emits optimized code for typeof x == "y". Modifies input register. |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 private: | 311 private: |
| 309 LCodeGen* codegen_; | 312 LCodeGen* codegen_; |
| 310 Label entry_; | 313 Label entry_; |
| 311 Label exit_; | 314 Label exit_; |
| 312 Label* external_exit_; | 315 Label* external_exit_; |
| 313 }; | 316 }; |
| 314 | 317 |
| 315 } } // namespace v8::internal | 318 } } // namespace v8::internal |
| 316 | 319 |
| 317 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 320 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |