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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 void CheckStack(); | 448 void CheckStack(); |
449 | 449 |
450 struct InlineRuntimeLUT { | 450 struct InlineRuntimeLUT { |
451 void (CodeGenerator::*method)(ZoneList<Expression*>*); | 451 void (CodeGenerator::*method)(ZoneList<Expression*>*); |
452 const char* name; | 452 const char* name; |
453 int nargs; | 453 int nargs; |
454 }; | 454 }; |
455 | 455 |
456 static InlineRuntimeLUT* FindInlineRuntimeLUT(Handle<String> name); | 456 static InlineRuntimeLUT* FindInlineRuntimeLUT(Handle<String> name); |
457 bool CheckForInlineRuntimeCall(CallRuntime* node); | 457 bool CheckForInlineRuntimeCall(CallRuntime* node); |
458 static bool PatchInlineRuntimeEntry(Handle<String> name, | |
459 const InlineRuntimeLUT& new_entry, | |
460 InlineRuntimeLUT* old_entry); | |
461 | 458 |
462 static Handle<Code> ComputeLazyCompile(int argc); | 459 static Handle<Code> ComputeLazyCompile(int argc); |
463 void ProcessDeclarations(ZoneList<Declaration*>* declarations); | 460 void ProcessDeclarations(ZoneList<Declaration*>* declarations); |
464 | 461 |
465 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); | 462 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); |
466 | 463 |
467 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop); | 464 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop); |
468 | 465 |
469 // Declare global variables and functions in the given array of | 466 // Declare global variables and functions in the given array of |
470 // name/value pairs. | 467 // name/value pairs. |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 friend class FullCodeGenerator; | 608 friend class FullCodeGenerator; |
612 friend class FullCodeGenSyntaxChecker; | 609 friend class FullCodeGenSyntaxChecker; |
613 | 610 |
614 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); | 611 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); |
615 }; | 612 }; |
616 | 613 |
617 | 614 |
618 } } // namespace v8::internal | 615 } } // namespace v8::internal |
619 | 616 |
620 #endif // V8_ARM_CODEGEN_ARM_H_ | 617 #endif // V8_ARM_CODEGEN_ARM_H_ |
OLD | NEW |