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

Side by Side Diff: src/arm/virtual-frame-arm.h

Issue 1715003: Add inlining of property load on ARM... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 8 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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 #ifdef ENABLE_DEBUGGER_SUPPORT 301 #ifdef ENABLE_DEBUGGER_SUPPORT
302 void DebugBreak(); 302 void DebugBreak();
303 #endif 303 #endif
304 304
305 // Invoke builtin given the number of arguments it expects on (and 305 // Invoke builtin given the number of arguments it expects on (and
306 // removes from) the stack. 306 // removes from) the stack.
307 void InvokeBuiltin(Builtins::JavaScript id, 307 void InvokeBuiltin(Builtins::JavaScript id,
308 InvokeJSFlags flag, 308 InvokeJSFlags flag,
309 int arg_count); 309 int arg_count);
310 310
311 // Call load IC. Receiver on stack and property name in r2. Result returned in
312 // r0. If load_inlined is false the code generated will make sure that the IC
313 // handling will not see this load as having an inlined counterpart.
314 void CallLoadIC(RelocInfo::Mode mode, bool load_inlined = false);
315
311 // Call into an IC stub given the number of arguments it removes 316 // Call into an IC stub given the number of arguments it removes
312 // from the stack. Register arguments to the IC stub are implicit, 317 // from the stack. Register arguments to the IC stub are implicit,
313 // and depend on the type of IC stub. 318 // and depend on the type of IC stub.
314 void CallCodeObject(Handle<Code> ic, 319 void CallCodeObject(Handle<Code> ic,
315 RelocInfo::Mode rmode, 320 RelocInfo::Mode rmode,
316 int dropped_args); 321 int dropped_args);
317 322
318 // Drop a number of elements from the top of the expression stack. May 323 // Drop a number of elements from the top of the expression stack. May
319 // emit code to affect the physical frame. Does not clobber any registers 324 // emit code to affect the physical frame. Does not clobber any registers
320 // excepting possibly the stack pointer. 325 // excepting possibly the stack pointer.
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 inline bool Equals(VirtualFrame* other); 471 inline bool Equals(VirtualFrame* other);
467 472
468 friend class JumpTarget; 473 friend class JumpTarget;
469 friend class DeferredCode; 474 friend class DeferredCode;
470 }; 475 };
471 476
472 477
473 } } // namespace v8::internal 478 } } // namespace v8::internal
474 479
475 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ 480 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_
OLDNEW
« src/arm/ic-arm.cc ('K') | « src/arm/ic-arm.cc ('k') | src/arm/virtual-frame-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698