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

Side by Side Diff: src/arm/codegen-arm.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 | « no previous file | src/arm/ic-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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 bool CheckForInlineRuntimeCall(CallRuntime* node); 442 bool CheckForInlineRuntimeCall(CallRuntime* node);
443 static bool PatchInlineRuntimeEntry(Handle<String> name, 443 static bool PatchInlineRuntimeEntry(Handle<String> name,
444 const InlineRuntimeLUT& new_entry, 444 const InlineRuntimeLUT& new_entry,
445 InlineRuntimeLUT* old_entry); 445 InlineRuntimeLUT* old_entry);
446 446
447 static Handle<Code> ComputeLazyCompile(int argc); 447 static Handle<Code> ComputeLazyCompile(int argc);
448 void ProcessDeclarations(ZoneList<Declaration*>* declarations); 448 void ProcessDeclarations(ZoneList<Declaration*>* declarations);
449 449
450 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); 450 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop);
451 451
452 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop);
453
452 // Declare global variables and functions in the given array of 454 // Declare global variables and functions in the given array of
453 // name/value pairs. 455 // name/value pairs.
454 void DeclareGlobals(Handle<FixedArray> pairs); 456 void DeclareGlobals(Handle<FixedArray> pairs);
455 457
456 // Instantiate the function based on the shared function info. 458 // Instantiate the function based on the shared function info.
457 void InstantiateFunction(Handle<SharedFunctionInfo> function_info); 459 void InstantiateFunction(Handle<SharedFunctionInfo> function_info);
458 460
459 // Support for type checks. 461 // Support for type checks.
460 void GenerateIsSmi(ZoneList<Expression*>* args); 462 void GenerateIsSmi(ZoneList<Expression*>* args);
461 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 463 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 return ObjectBits::encode(object_.code()) | 961 return ObjectBits::encode(object_.code()) |
960 OffsetBits::encode(offset_.code()) | 962 OffsetBits::encode(offset_.code()) |
961 ScratchBits::encode(scratch_.code()); 963 ScratchBits::encode(scratch_.code());
962 } 964 }
963 }; 965 };
964 966
965 967
966 } } // namespace v8::internal 968 } } // namespace v8::internal
967 969
968 #endif // V8_ARM_CODEGEN_ARM_H_ 970 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/ic-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698