| 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 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 Expression* receiver, | 573 Expression* receiver, |
| 574 VariableProxy* arguments, | 574 VariableProxy* arguments, |
| 575 int position); | 575 int position); |
| 576 | 576 |
| 577 void CheckStack(); | 577 void CheckStack(); |
| 578 | 578 |
| 579 bool CheckForInlineRuntimeCall(CallRuntime* node); | 579 bool CheckForInlineRuntimeCall(CallRuntime* node); |
| 580 | 580 |
| 581 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 581 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
| 582 | 582 |
| 583 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); | |
| 584 | |
| 585 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop); | |
| 586 | |
| 587 // Declare global variables and functions in the given array of | 583 // Declare global variables and functions in the given array of |
| 588 // name/value pairs. | 584 // name/value pairs. |
| 589 void DeclareGlobals(Handle<FixedArray> pairs); | 585 void DeclareGlobals(Handle<FixedArray> pairs); |
| 590 | 586 |
| 591 // Instantiate the function based on the shared function info. | 587 // Instantiate the function based on the shared function info. |
| 592 void InstantiateFunction(Handle<SharedFunctionInfo> function_info); | 588 void InstantiateFunction(Handle<SharedFunctionInfo> function_info); |
| 593 | 589 |
| 594 // Support for type checks. | 590 // Support for type checks. |
| 595 void GenerateIsSmi(ZoneList<Expression*>* args); | 591 void GenerateIsSmi(ZoneList<Expression*>* args); |
| 596 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); | 592 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 | 732 |
| 737 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc | 733 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc |
| 738 | 734 |
| 739 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 735 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
| 740 }; | 736 }; |
| 741 | 737 |
| 742 | 738 |
| 743 } } // namespace v8::internal | 739 } } // namespace v8::internal |
| 744 | 740 |
| 745 #endif // V8_X64_CODEGEN_X64_H_ | 741 #endif // V8_X64_CODEGEN_X64_H_ |
| OLD | NEW |