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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 Safepoint::DeoptMode mode); | 316 Safepoint::DeoptMode mode); |
317 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers, | 317 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers, |
318 int arguments, | 318 int arguments, |
319 Safepoint::DeoptMode mode); | 319 Safepoint::DeoptMode mode); |
320 void RecordPosition(int position); | 320 void RecordPosition(int position); |
321 | 321 |
322 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 322 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
323 void EmitGoto(int block); | 323 void EmitGoto(int block); |
324 template<class InstrType> | 324 template<class InstrType> |
325 void EmitBranch(InstrType instr, Condition cc); | 325 void EmitBranch(InstrType instr, Condition cc); |
| 326 template<class InstrType> |
| 327 void EmitFalseBranch(InstrType instr, Condition cc); |
326 void EmitNumberUntagD(Register input, | 328 void EmitNumberUntagD(Register input, |
327 DwVfpRegister result, | 329 DwVfpRegister result, |
328 bool allow_undefined_as_nan, | 330 bool allow_undefined_as_nan, |
329 bool deoptimize_on_minus_zero, | 331 bool deoptimize_on_minus_zero, |
330 LEnvironment* env, | 332 LEnvironment* env, |
331 NumberUntagDMode mode); | 333 NumberUntagDMode mode); |
332 | 334 |
333 // Emits optimized code for typeof x == "y". Modifies input register. | 335 // Emits optimized code for typeof x == "y". Modifies input register. |
334 // Returns the condition on which a final split to | 336 // Returns the condition on which a final split to |
335 // true and false label should be made, to optimize fallthrough. | 337 // true and false label should be made, to optimize fallthrough. |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 LCodeGen* codegen_; | 496 LCodeGen* codegen_; |
495 Label entry_; | 497 Label entry_; |
496 Label exit_; | 498 Label exit_; |
497 Label* external_exit_; | 499 Label* external_exit_; |
498 int instruction_index_; | 500 int instruction_index_; |
499 }; | 501 }; |
500 | 502 |
501 } } // namespace v8::internal | 503 } } // namespace v8::internal |
502 | 504 |
503 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 505 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |