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

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

Issue 4760003: Move ComputeCallInitialize from the codegen.cc to stub-cache.cc. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 1 month 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/arm/codegen-arm.cc » ('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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 437
438 // Control flow 438 // Control flow
439 void Branch(bool if_true, JumpTarget* target); 439 void Branch(bool if_true, JumpTarget* target);
440 void CheckStack(); 440 void CheckStack();
441 441
442 bool CheckForInlineRuntimeCall(CallRuntime* node); 442 bool CheckForInlineRuntimeCall(CallRuntime* node);
443 443
444 static Handle<Code> ComputeLazyCompile(int argc); 444 static Handle<Code> ComputeLazyCompile(int argc);
445 void ProcessDeclarations(ZoneList<Declaration*>* declarations); 445 void ProcessDeclarations(ZoneList<Declaration*>* declarations);
446 446
447 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop);
448
449 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop);
450
451 // Declare global variables and functions in the given array of 447 // Declare global variables and functions in the given array of
452 // name/value pairs. 448 // name/value pairs.
453 void DeclareGlobals(Handle<FixedArray> pairs); 449 void DeclareGlobals(Handle<FixedArray> pairs);
454 450
455 // Instantiate the function based on the shared function info. 451 // Instantiate the function based on the shared function info.
456 void InstantiateFunction(Handle<SharedFunctionInfo> function_info); 452 void InstantiateFunction(Handle<SharedFunctionInfo> function_info);
457 453
458 // Support for type checks. 454 // Support for type checks.
459 void GenerateIsSmi(ZoneList<Expression*>* args); 455 void GenerateIsSmi(ZoneList<Expression*>* args);
460 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 456 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 friend class FullCodeGenerator; 585 friend class FullCodeGenerator;
590 friend class FullCodeGenSyntaxChecker; 586 friend class FullCodeGenSyntaxChecker;
591 587
592 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 588 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
593 }; 589 };
594 590
595 591
596 } } // namespace v8::internal 592 } } // namespace v8::internal
597 593
598 #endif // V8_ARM_CODEGEN_ARM_H_ 594 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698