| 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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 // An optimized implementation of expressions of the form | 577 // An optimized implementation of expressions of the form |
| 578 // x.apply(y, arguments). We call x the applicand and y the receiver. | 578 // x.apply(y, arguments). We call x the applicand and y the receiver. |
| 579 // The optimization avoids allocating an arguments object if possible. | 579 // The optimization avoids allocating an arguments object if possible. |
| 580 void CallApplyLazy(Expression* applicand, | 580 void CallApplyLazy(Expression* applicand, |
| 581 Expression* receiver, | 581 Expression* receiver, |
| 582 VariableProxy* arguments, | 582 VariableProxy* arguments, |
| 583 int position); | 583 int position); |
| 584 | 584 |
| 585 void CheckStack(); | 585 void CheckStack(); |
| 586 | 586 |
| 587 static InlineFunctionGenerator FindInlineFunctionGenerator( | |
| 588 Runtime::FunctionId function_id); | |
| 589 | |
| 590 bool CheckForInlineRuntimeCall(CallRuntime* node); | 587 bool CheckForInlineRuntimeCall(CallRuntime* node); |
| 591 | 588 |
| 592 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 589 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
| 593 | 590 |
| 594 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); | 591 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); |
| 595 | 592 |
| 596 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop); | 593 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop); |
| 597 | 594 |
| 598 // Declare global variables and functions in the given array of | 595 // Declare global variables and functions in the given array of |
| 599 // name/value pairs. | 596 // name/value pairs. |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 749 | 746 |
| 750 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 747 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
| 751 | 748 |
| 752 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 749 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
| 753 }; | 750 }; |
| 754 | 751 |
| 755 | 752 |
| 756 } } // namespace v8::internal | 753 } } // namespace v8::internal |
| 757 | 754 |
| 758 #endif // V8_X64_CODEGEN_X64_H_ | 755 #endif // V8_X64_CODEGEN_X64_H_ |
| OLD | NEW |