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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 void EmitBranch(int left_block, int right_block, Condition cc); | 253 void EmitBranch(int left_block, int right_block, Condition cc); |
254 void EmitCmpI(LOperand* left, LOperand* right); | 254 void EmitCmpI(LOperand* left, LOperand* right); |
255 void EmitNumberUntagD(Register input, | 255 void EmitNumberUntagD(Register input, |
256 XMMRegister result, | 256 XMMRegister result, |
257 bool deoptimize_on_undefined, | 257 bool deoptimize_on_undefined, |
258 LEnvironment* env); | 258 LEnvironment* env); |
259 | 259 |
260 // Emits optimized code for typeof x == "y". Modifies input register. | 260 // Emits optimized code for typeof x == "y". Modifies input register. |
261 // Returns the condition on which a final split to | 261 // Returns the condition on which a final split to |
262 // true and false label should be made, to optimize fallthrough. | 262 // true and false label should be made, to optimize fallthrough. |
263 Condition EmitTypeofIs(Label* true_label, Label* false_label, | 263 Condition EmitTypeofIs(Label* true_label, |
264 Register input, Handle<String> type_name); | 264 Label* false_label, |
| 265 Register input, |
| 266 Handle<String> type_name); |
265 | 267 |
266 // Emits optimized code for %_IsObject(x). Preserves input register. | 268 // Emits optimized code for %_IsObject(x). Preserves input register. |
267 // Returns the condition on which a final split to | 269 // Returns the condition on which a final split to |
268 // true and false label should be made, to optimize fallthrough. | 270 // true and false label should be made, to optimize fallthrough. |
269 Condition EmitIsObject(Register input, | 271 Condition EmitIsObject(Register input, |
270 Label* is_not_object, | 272 Label* is_not_object, |
271 Label* is_object); | 273 Label* is_object); |
272 | 274 |
273 // Emits optimized code for %_IsConstructCall(). | 275 // Emits optimized code for %_IsConstructCall(). |
274 // Caller should branch on equal condition. | 276 // Caller should branch on equal condition. |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 LCodeGen* codegen_; | 371 LCodeGen* codegen_; |
370 Label entry_; | 372 Label entry_; |
371 Label exit_; | 373 Label exit_; |
372 Label* external_exit_; | 374 Label* external_exit_; |
373 int instruction_index_; | 375 int instruction_index_; |
374 }; | 376 }; |
375 | 377 |
376 } } // namespace v8::internal | 378 } } // namespace v8::internal |
377 | 379 |
378 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 380 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |