| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 void RecordSafepoint(int deoptimization_index); | 254 void RecordSafepoint(int deoptimization_index); |
| 255 void RecordSafepointWithRegisters(LPointerMap* pointers, | 255 void RecordSafepointWithRegisters(LPointerMap* pointers, |
| 256 int arguments, | 256 int arguments, |
| 257 int deoptimization_index); | 257 int deoptimization_index); |
| 258 void RecordPosition(int position); | 258 void RecordPosition(int position); |
| 259 | 259 |
| 260 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 260 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
| 261 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); | 261 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); |
| 262 void EmitBranch(int left_block, int right_block, Condition cc); | 262 void EmitBranch(int left_block, int right_block, Condition cc); |
| 263 void EmitCmpI(LOperand* left, LOperand* right); | 263 void EmitCmpI(LOperand* left, LOperand* right); |
| 264 void EmitNumberUntagD(Register input, XMMRegister result, LEnvironment* env); | 264 void EmitNumberUntagD(Register input, |
| 265 XMMRegister result, |
| 266 bool deoptimize_on_undefined, |
| 267 LEnvironment* env); |
| 265 | 268 |
| 266 // Emits optimized code for typeof x == "y". Modifies input register. | 269 // Emits optimized code for typeof x == "y". Modifies input register. |
| 267 // Returns the condition on which a final split to | 270 // Returns the condition on which a final split to |
| 268 // true and false label should be made, to optimize fallthrough. | 271 // true and false label should be made, to optimize fallthrough. |
| 269 Condition EmitTypeofIs(Label* true_label, Label* false_label, | 272 Condition EmitTypeofIs(Label* true_label, Label* false_label, |
| 270 Register input, Handle<String> type_name); | 273 Register input, Handle<String> type_name); |
| 271 | 274 |
| 272 // Emits optimized code for %_IsObject(x). Preserves input register. | 275 // Emits optimized code for %_IsObject(x). Preserves input register. |
| 273 // Returns the condition on which a final split to | 276 // Returns the condition on which a final split to |
| 274 // true and false label should be made, to optimize fallthrough. | 277 // true and false label should be made, to optimize fallthrough. |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 private: | 369 private: |
| 367 LCodeGen* codegen_; | 370 LCodeGen* codegen_; |
| 368 Label entry_; | 371 Label entry_; |
| 369 Label exit_; | 372 Label exit_; |
| 370 Label* external_exit_; | 373 Label* external_exit_; |
| 371 }; | 374 }; |
| 372 | 375 |
| 373 } } // namespace v8::internal | 376 } } // namespace v8::internal |
| 374 | 377 |
| 375 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 378 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |