| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 const char* name; | 479 const char* name; |
| 480 }; | 480 }; |
| 481 static InlineRuntimeLUT* FindInlineRuntimeLUT(Handle<String> name); | 481 static InlineRuntimeLUT* FindInlineRuntimeLUT(Handle<String> name); |
| 482 bool CheckForInlineRuntimeCall(CallRuntime* node); | 482 bool CheckForInlineRuntimeCall(CallRuntime* node); |
| 483 static bool PatchInlineRuntimeEntry(Handle<String> name, | 483 static bool PatchInlineRuntimeEntry(Handle<String> name, |
| 484 const InlineRuntimeLUT& new_entry, | 484 const InlineRuntimeLUT& new_entry, |
| 485 InlineRuntimeLUT* old_entry); | 485 InlineRuntimeLUT* old_entry); |
| 486 Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node); | 486 Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node); |
| 487 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 487 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
| 488 | 488 |
| 489 Handle<Code> ComputeCallInitialize(int argc); | 489 Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); |
| 490 Handle<Code> ComputeCallInitializeInLoop(int argc); | |
| 491 | 490 |
| 492 // Declare global variables and functions in the given array of | 491 // Declare global variables and functions in the given array of |
| 493 // name/value pairs. | 492 // name/value pairs. |
| 494 void DeclareGlobals(Handle<FixedArray> pairs); | 493 void DeclareGlobals(Handle<FixedArray> pairs); |
| 495 | 494 |
| 496 // Instantiate the function boilerplate. | 495 // Instantiate the function boilerplate. |
| 497 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); | 496 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); |
| 498 | 497 |
| 499 // Support for type checks. | 498 // Support for type checks. |
| 500 void GenerateIsSmi(ZoneList<Expression*>* args); | 499 void GenerateIsSmi(ZoneList<Expression*>* args); |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 friend class Reference; | 619 friend class Reference; |
| 621 friend class Result; | 620 friend class Result; |
| 622 | 621 |
| 623 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 622 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
| 624 }; | 623 }; |
| 625 | 624 |
| 626 | 625 |
| 627 } } // namespace v8::internal | 626 } } // namespace v8::internal |
| 628 | 627 |
| 629 #endif // V8_X64_CODEGEN_X64_H_ | 628 #endif // V8_X64_CODEGEN_X64_H_ |
| OLD | NEW |