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

Unified Diff: runtime/vm/stub_code.h

Issue 436643002: Faster IC stubs by specializing them for Binary Smi operations (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/stub_code.h
===================================================================
--- runtime/vm/stub_code.h (revision 39307)
+++ runtime/vm/stub_code.h (working copy)
@@ -57,6 +57,9 @@
V(OneArgCheckInlineCache) \
V(TwoArgsCheckInlineCache) \
V(ThreeArgsCheckInlineCache) \
+ V(SmiAddInlineCache) \
+ V(SmiSubInlineCache) \
+ V(SmiEqualInlineCache) \
V(OneArgOptimizedCheckInlineCache) \
V(TwoArgsOptimizedCheckInlineCache) \
V(ThreeArgsOptimizedCheckInlineCache) \
@@ -199,7 +202,8 @@
static void GenerateNArgsCheckInlineCacheStub(
Assembler* assembler,
intptr_t num_args,
- const RuntimeEntry& handle_ic_miss);
+ const RuntimeEntry& handle_ic_miss,
+ Token::Kind kind);
static void GenerateUsageCounterIncrement(Assembler* assembler,
Register temp_reg);
static void GenerateOptimizedUsageCounterIncrement(Assembler* assembler);

Powered by Google App Engine
This is Rietveld 408576698