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

Side by Side Diff: src/macro-assembler-arm.h

Issue 11277: More work on completing Keyed IC code on ARM port.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 1 month 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 struct Unresolved { 225 struct Unresolved {
226 int pc; 226 int pc;
227 uint32_t flags; // see Bootstrapper::FixupFlags decoders/encoders. 227 uint32_t flags; // see Bootstrapper::FixupFlags decoders/encoders.
228 const char* name; 228 const char* name;
229 }; 229 };
230 List<Unresolved>* unresolved() { return &unresolved_; } 230 List<Unresolved>* unresolved() { return &unresolved_; }
231 231
232 232
233 // --------------------------------------------------------------------------- 233 // ---------------------------------------------------------------------------
234 // StatsCounter support
235
236 void SetCounter(StatsCounter* counter, int value,
237 Register scratch1, Register scratch2);
238 void IncrementCounter(StatsCounter* counter, int value,
239 Register scratch1, Register scratch2);
240 void DecrementCounter(StatsCounter* counter, int value,
241 Register scratch1, Register scratch2);
242
243
244 // ---------------------------------------------------------------------------
234 // Debugging 245 // Debugging
235 246
236 // Calls Abort(msg) if the condition cc is not satisfied. 247 // Calls Abort(msg) if the condition cc is not satisfied.
237 // Use --debug_code to enable. 248 // Use --debug_code to enable.
238 void Assert(Condition cc, const char* msg); 249 void Assert(Condition cc, const char* msg);
239 250
240 // Like Assert(), but always enabled. 251 // Like Assert(), but always enabled.
241 void Check(Condition cc, const char* msg); 252 void Check(Condition cc, const char* msg);
242 253
243 // Print a message to stdout and abort execution. 254 // Print a message to stdout and abort execution.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 // Generate a MemOperand for loading a field from an object. 289 // Generate a MemOperand for loading a field from an object.
279 static inline MemOperand FieldMemOperand(Register object, int offset) { 290 static inline MemOperand FieldMemOperand(Register object, int offset) {
280 return MemOperand(object, offset - kHeapObjectTag); 291 return MemOperand(object, offset - kHeapObjectTag);
281 } 292 }
282 293
283 294
284 295
285 } } // namespace v8::internal 296 } } // namespace v8::internal
286 297
287 #endif // V8_MACRO_ASSEMBLER_ARM_H_ 298 #endif // V8_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« src/ic-arm.cc ('K') | « src/ic-arm.cc ('k') | src/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698