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

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

Issue 2116003: ARM: Pass arguments to keyed store IC in registers... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 7 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/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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 213
214 void AddDeferred(DeferredCode* code) { deferred_.Add(code); } 214 void AddDeferred(DeferredCode* code) { deferred_.Add(code); }
215 215
216 static const int kUnknownIntValue = -1; 216 static const int kUnknownIntValue = -1;
217 217
218 // If the name is an inline runtime function call return the number of 218 // If the name is an inline runtime function call return the number of
219 // expected arguments. Otherwise return -1. 219 // expected arguments. Otherwise return -1.
220 static int InlineRuntimeCallArgumentsCount(Handle<String> name); 220 static int InlineRuntimeCallArgumentsCount(Handle<String> name);
221 221
222 // Constants related to patching of inlined load/store. 222 // Constants related to patching of inlined load/store.
223 static const int kInlinedKeyedLoadInstructionsAfterPatchSize = 19; 223 static const int kInlinedKeyedLoadInstructionsAfterPatch = 19;
224 static const int kInlinedKeyedStoreInstructionsAfterPatch = 5;
224 225
225 private: 226 private:
226 // Construction/Destruction 227 // Construction/Destruction
227 explicit CodeGenerator(MacroAssembler* masm); 228 explicit CodeGenerator(MacroAssembler* masm);
228 229
229 // Accessors 230 // Accessors
230 inline bool is_eval(); 231 inline bool is_eval();
231 inline Scope* scope(); 232 inline Scope* scope();
232 233
233 // Generating deferred code. 234 // Generating deferred code.
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 return ObjectBits::encode(object_.code()) | 953 return ObjectBits::encode(object_.code()) |
953 OffsetBits::encode(offset_.code()) | 954 OffsetBits::encode(offset_.code()) |
954 ScratchBits::encode(scratch_.code()); 955 ScratchBits::encode(scratch_.code());
955 } 956 }
956 }; 957 };
957 958
958 959
959 } } // namespace v8::internal 960 } } // namespace v8::internal
960 961
961 #endif // V8_ARM_CODEGEN_ARM_H_ 962 #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