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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 void EmitBranch(int left_block, int right_block, Condition cc); | 307 void EmitBranch(int left_block, int right_block, Condition cc); |
308 void EmitNumberUntagD( | 308 void EmitNumberUntagD( |
309 Register input, | 309 Register input, |
310 Register temp, | 310 Register temp, |
311 XMMRegister result, | 311 XMMRegister result, |
312 bool deoptimize_on_undefined, | 312 bool deoptimize_on_undefined, |
313 bool deoptimize_on_minus_zero, | 313 bool deoptimize_on_minus_zero, |
314 LEnvironment* env, | 314 LEnvironment* env, |
315 NumberUntagDMode mode = NUMBER_CANDIDATE_IS_ANY_TAGGED); | 315 NumberUntagDMode mode = NUMBER_CANDIDATE_IS_ANY_TAGGED); |
316 | 316 |
317 void DeoptIfTaggedButNotSmi(LEnvironment* environment, | |
318 HValue* value, | |
319 LOperand* operand); | |
320 | |
321 // Emits optimized code for typeof x == "y". Modifies input register. | 317 // Emits optimized code for typeof x == "y". Modifies input register. |
322 // Returns the condition on which a final split to | 318 // Returns the condition on which a final split to |
323 // true and false label should be made, to optimize fallthrough. | 319 // true and false label should be made, to optimize fallthrough. |
324 Condition EmitTypeofIs(Label* true_label, | 320 Condition EmitTypeofIs(Label* true_label, |
325 Label* false_label, | 321 Label* false_label, |
326 Register input, | 322 Register input, |
327 Handle<String> type_name); | 323 Handle<String> type_name); |
328 | 324 |
329 // Emits optimized code for %_IsObject(x). Preserves input register. | 325 // Emits optimized code for %_IsObject(x). Preserves input register. |
330 // Returns the condition on which a final split to | 326 // Returns the condition on which a final split to |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 LCodeGen* codegen_; | 463 LCodeGen* codegen_; |
468 Label entry_; | 464 Label entry_; |
469 Label exit_; | 465 Label exit_; |
470 Label* external_exit_; | 466 Label* external_exit_; |
471 int instruction_index_; | 467 int instruction_index_; |
472 }; | 468 }; |
473 | 469 |
474 } } // namespace v8::internal | 470 } } // namespace v8::internal |
475 | 471 |
476 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 472 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |