Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: src/arm/codegen-arm.h

Issue 3311002: Remove CodeGenerator::PatchInlineRuntimeEntry and replace its single use in t... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/codegen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698