| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 // Translate the value on top of the frame into control flow to the | 485 // Translate the value on top of the frame into control flow to the |
| 486 // control destination. | 486 // control destination. |
| 487 void ToBoolean(ControlDestination* destination); | 487 void ToBoolean(ControlDestination* destination); |
| 488 | 488 |
| 489 // Generate code that computes a shortcutting logical operation. | 489 // Generate code that computes a shortcutting logical operation. |
| 490 void GenerateLogicalBooleanOperation(BinaryOperation* node); | 490 void GenerateLogicalBooleanOperation(BinaryOperation* node); |
| 491 | 491 |
| 492 void GenericBinaryOperation(BinaryOperation* expr, | 492 void GenericBinaryOperation(BinaryOperation* expr, |
| 493 OverwriteMode overwrite_mode); | 493 OverwriteMode overwrite_mode); |
| 494 | 494 |
| 495 // Generate a stub call from the virtual frame. |
| 496 Result GenerateGenericBinaryOpStubCall(GenericBinaryOpStub* stub, |
| 497 Result* left, |
| 498 Result* right); |
| 499 |
| 495 // Emits code sequence that jumps to a JumpTarget if the inputs | 500 // Emits code sequence that jumps to a JumpTarget if the inputs |
| 496 // are both smis. Cannot be in MacroAssembler because it takes | 501 // are both smis. Cannot be in MacroAssembler because it takes |
| 497 // advantage of TypeInfo to skip unneeded checks. | 502 // advantage of TypeInfo to skip unneeded checks. |
| 498 void JumpIfBothSmiUsingTypeInfo(Result* left, | 503 void JumpIfBothSmiUsingTypeInfo(Result* left, |
| 499 Result* right, | 504 Result* right, |
| 500 JumpTarget* both_smi); | 505 JumpTarget* both_smi); |
| 501 | 506 |
| 502 // Emits code sequence that jumps to deferred code if the input | 507 // Emits code sequence that jumps to deferred code if the input |
| 503 // is not a smi. Cannot be in MacroAssembler because it takes | 508 // is not a smi. Cannot be in MacroAssembler because it takes |
| 504 // advantage of TypeInfo to skip unneeded checks. | 509 // advantage of TypeInfo to skip unneeded checks. |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 751 | 756 |
| 752 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 757 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
| 753 | 758 |
| 754 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 759 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
| 755 }; | 760 }; |
| 756 | 761 |
| 757 | 762 |
| 758 } } // namespace v8::internal | 763 } } // namespace v8::internal |
| 759 | 764 |
| 760 #endif // V8_X64_CODEGEN_X64_H_ | 765 #endif // V8_X64_CODEGEN_X64_H_ |
| OLD | NEW |