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

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

Issue 2028007: Add missing constant... (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 | no next file » | 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 void set_state(CodeGenState* state) { state_ = state; } 210 void set_state(CodeGenState* state) { state_ = state; }
211 211
212 void AddDeferred(DeferredCode* code) { deferred_.Add(code); } 212 void AddDeferred(DeferredCode* code) { deferred_.Add(code); }
213 213
214 static const int kUnknownIntValue = -1; 214 static const int kUnknownIntValue = -1;
215 215
216 // If the name is an inline runtime function call return the number of 216 // If the name is an inline runtime function call return the number of
217 // expected arguments. Otherwise return -1. 217 // expected arguments. Otherwise return -1.
218 static int InlineRuntimeCallArgumentsCount(Handle<String> name); 218 static int InlineRuntimeCallArgumentsCount(Handle<String> name);
219 219
220 // Constants related to patching of inlined lokad/store.
221 static const int kInlinedKeyedLoadInstructionsAfterPatchSize = 19;
222
220 private: 223 private:
221 // Construction/Destruction 224 // Construction/Destruction
222 explicit CodeGenerator(MacroAssembler* masm); 225 explicit CodeGenerator(MacroAssembler* masm);
223 226
224 // Accessors 227 // Accessors
225 inline bool is_eval(); 228 inline bool is_eval();
226 inline Scope* scope(); 229 inline Scope* scope();
227 230
228 // Generating deferred code. 231 // Generating deferred code.
229 void ProcessDeferred(); 232 void ProcessDeferred();
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 return ObjectBits::encode(object_.code()) | 940 return ObjectBits::encode(object_.code()) |
938 OffsetBits::encode(offset_.code()) | 941 OffsetBits::encode(offset_.code()) |
939 ScratchBits::encode(scratch_.code()); 942 ScratchBits::encode(scratch_.code());
940 } 943 }
941 }; 944 };
942 945
943 946
944 } } // namespace v8::internal 947 } } // namespace v8::internal
945 948
946 #endif // V8_ARM_CODEGEN_ARM_H_ 949 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698