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

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

Issue 2280007: Extend CallIC to support non-constant names.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 6 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 | « src/full-codegen.h ('k') | src/ia32/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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 static InlineRuntimeLUT* FindInlineRuntimeLUT(Handle<String> name); 587 static InlineRuntimeLUT* FindInlineRuntimeLUT(Handle<String> name);
588 bool CheckForInlineRuntimeCall(CallRuntime* node); 588 bool CheckForInlineRuntimeCall(CallRuntime* node);
589 static bool PatchInlineRuntimeEntry(Handle<String> name, 589 static bool PatchInlineRuntimeEntry(Handle<String> name,
590 const InlineRuntimeLUT& new_entry, 590 const InlineRuntimeLUT& new_entry,
591 InlineRuntimeLUT* old_entry); 591 InlineRuntimeLUT* old_entry);
592 592
593 void ProcessDeclarations(ZoneList<Declaration*>* declarations); 593 void ProcessDeclarations(ZoneList<Declaration*>* declarations);
594 594
595 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); 595 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop);
596 596
597 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop);
598
597 // Declare global variables and functions in the given array of 599 // Declare global variables and functions in the given array of
598 // name/value pairs. 600 // name/value pairs.
599 void DeclareGlobals(Handle<FixedArray> pairs); 601 void DeclareGlobals(Handle<FixedArray> pairs);
600 602
601 // Instantiate the function based on the shared function info. 603 // Instantiate the function based on the shared function info.
602 Result InstantiateFunction(Handle<SharedFunctionInfo> function_info); 604 Result InstantiateFunction(Handle<SharedFunctionInfo> function_info);
603 605
604 // Support for type checks. 606 // Support for type checks.
605 void GenerateIsSmi(ZoneList<Expression*>* args); 607 void GenerateIsSmi(ZoneList<Expression*>* args);
606 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 608 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 void Print() { 1055 void Print() {
1054 PrintF("NumberToStringStub\n"); 1056 PrintF("NumberToStringStub\n");
1055 } 1057 }
1056 #endif 1058 #endif
1057 }; 1059 };
1058 1060
1059 1061
1060 } } // namespace v8::internal 1062 } } // namespace v8::internal
1061 1063
1062 #endif // V8_IA32_CODEGEN_IA32_H_ 1064 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/full-codegen.h ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698