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

Side by Side Diff: src/ia32/codegen-ia32.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 | « src/codegen.cc ('k') | src/ia32/full-codegen-ia32.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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 Expression* receiver, 613 Expression* receiver,
614 VariableProxy* arguments, 614 VariableProxy* arguments,
615 int position); 615 int position);
616 616
617 void CheckStack(); 617 void CheckStack();
618 618
619 bool CheckForInlineRuntimeCall(CallRuntime* node); 619 bool CheckForInlineRuntimeCall(CallRuntime* node);
620 620
621 void ProcessDeclarations(ZoneList<Declaration*>* declarations); 621 void ProcessDeclarations(ZoneList<Declaration*>* declarations);
622 622
623 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop);
624
625 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop);
626
627 // Declare global variables and functions in the given array of 623 // Declare global variables and functions in the given array of
628 // name/value pairs. 624 // name/value pairs.
629 void DeclareGlobals(Handle<FixedArray> pairs); 625 void DeclareGlobals(Handle<FixedArray> pairs);
630 626
631 // Instantiate the function based on the shared function info. 627 // Instantiate the function based on the shared function info.
632 Result InstantiateFunction(Handle<SharedFunctionInfo> function_info); 628 Result InstantiateFunction(Handle<SharedFunctionInfo> function_info);
633 629
634 // Support for types. 630 // Support for types.
635 void GenerateIsSmi(ZoneList<Expression*>* args); 631 void GenerateIsSmi(ZoneList<Expression*>* args);
636 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 632 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 783
788 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc 784 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc
789 785
790 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 786 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
791 }; 787 };
792 788
793 789
794 } } // namespace v8::internal 790 } } // namespace v8::internal
795 791
796 #endif // V8_IA32_CODEGEN_IA32_H_ 792 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698