| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 int deoptimization_index); | 237 int deoptimization_index); |
| 238 void RecordPosition(int position); | 238 void RecordPosition(int position); |
| 239 int LastSafepointEnd() { | 239 int LastSafepointEnd() { |
| 240 return static_cast<int>(safepoints_.GetPcAfterGap()); | 240 return static_cast<int>(safepoints_.GetPcAfterGap()); |
| 241 } | 241 } |
| 242 | 242 |
| 243 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 243 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
| 244 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); | 244 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); |
| 245 void EmitBranch(int left_block, int right_block, Condition cc); | 245 void EmitBranch(int left_block, int right_block, Condition cc); |
| 246 void EmitCmpI(LOperand* left, LOperand* right); | 246 void EmitCmpI(LOperand* left, LOperand* right); |
| 247 void EmitNumberUntagD(Register input, XMMRegister result, LEnvironment* env); | 247 void EmitNumberUntagD(Register input, |
| 248 XMMRegister result, |
| 249 bool deoptimize_on_undefined, |
| 250 LEnvironment* env); |
| 248 | 251 |
| 249 // Emits optimized code for typeof x == "y". Modifies input register. | 252 // Emits optimized code for typeof x == "y". Modifies input register. |
| 250 // Returns the condition on which a final split to | 253 // Returns the condition on which a final split to |
| 251 // true and false label should be made, to optimize fallthrough. | 254 // true and false label should be made, to optimize fallthrough. |
| 252 Condition EmitTypeofIs(Label* true_label, Label* false_label, | 255 Condition EmitTypeofIs(Label* true_label, Label* false_label, |
| 253 Register input, Handle<String> type_name); | 256 Register input, Handle<String> type_name); |
| 254 | 257 |
| 255 // Emits optimized code for %_IsObject(x). Preserves input register. | 258 // Emits optimized code for %_IsObject(x). Preserves input register. |
| 256 // Returns the condition on which a final split to | 259 // Returns the condition on which a final split to |
| 257 // true and false label should be made, to optimize fallthrough. | 260 // true and false label should be made, to optimize fallthrough. |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 private: | 355 private: |
| 353 LCodeGen* codegen_; | 356 LCodeGen* codegen_; |
| 354 Label entry_; | 357 Label entry_; |
| 355 Label exit_; | 358 Label exit_; |
| 356 Label* external_exit_; | 359 Label* external_exit_; |
| 357 }; | 360 }; |
| 358 | 361 |
| 359 } } // namespace v8::internal | 362 } } // namespace v8::internal |
| 360 | 363 |
| 361 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 364 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |