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

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

Issue 2878043: Port inlined in-object property stores to ARM. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 5 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
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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 // If the name is an inline runtime function call return the number of 275 // If the name is an inline runtime function call return the number of
276 // expected arguments. Otherwise return -1. 276 // expected arguments. Otherwise return -1.
277 static int InlineRuntimeCallArgumentsCount(Handle<String> name); 277 static int InlineRuntimeCallArgumentsCount(Handle<String> name);
278 278
279 // Constants related to patching of inlined load/store. 279 // Constants related to patching of inlined load/store.
280 static int GetInlinedKeyedLoadInstructionsAfterPatch() { 280 static int GetInlinedKeyedLoadInstructionsAfterPatch() {
281 return FLAG_debug_code ? 27 : 13; 281 return FLAG_debug_code ? 27 : 13;
282 } 282 }
283 static const int kInlinedKeyedStoreInstructionsAfterPatch = 5; 283 static const int kInlinedKeyedStoreInstructionsAfterPatch = 5;
284 static int GetInlinedNamedStoreInstructionsAfterPatch() {
285 return FLAG_debug_code ? 33 : 14;
286 }
284 287
285 private: 288 private:
286 // Construction/Destruction 289 // Construction/Destruction
287 explicit CodeGenerator(MacroAssembler* masm); 290 explicit CodeGenerator(MacroAssembler* masm);
288 291
289 // Accessors 292 // Accessors
290 inline bool is_eval(); 293 inline bool is_eval();
291 inline Scope* scope(); 294 inline Scope* scope();
292 295
293 // Generating deferred code. 296 // Generating deferred code.
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 return ObjectBits::encode(object_.code()) | 1089 return ObjectBits::encode(object_.code()) |
1087 OffsetBits::encode(offset_.code()) | 1090 OffsetBits::encode(offset_.code()) |
1088 ScratchBits::encode(scratch_.code()); 1091 ScratchBits::encode(scratch_.code());
1089 } 1092 }
1090 }; 1093 };
1091 1094
1092 1095
1093 } } // namespace v8::internal 1096 } } // namespace v8::internal
1094 1097
1095 #endif // V8_ARM_CODEGEN_ARM_H_ 1098 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698