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

Unified Diff: vm/opt_code_generator_ia32.h

Issue 8439023: Optimize 2/3 of instance field increment operation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « vm/code_generator_ia32.cc ('k') | vm/opt_code_generator_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/opt_code_generator_ia32.h
===================================================================
--- vm/opt_code_generator_ia32.h (revision 1093)
+++ vm/opt_code_generator_ia32.h (working copy)
@@ -25,6 +25,7 @@
virtual void VisitBinaryOpNode(BinaryOpNode* node);
virtual void VisitIncrOpLocalNode(IncrOpLocalNode* node);
+ virtual void VisitIncrOpInstanceFieldNode(IncrOpInstanceFieldNode* node);
virtual void VisitInstanceGetterNode(InstanceGetterNode* node);
virtual void VisitInstanceSetterNode(InstanceSetterNode* node);
virtual void VisitComparisonNode(ComparisonNode* node);
@@ -67,8 +68,11 @@
void IntrinsifyGetter();
void IntrinsifySetter();
- void InlineInstanceGettersWithSameTarget(InstanceGetterNode* node,
- const Function& target);
+ bool ICDataToSameInlineableInstanceGetter(const ICData& ic_data);
+ void InlineInstanceGettersWithSameTarget(AstNode* node,
+ AstNode* receiver,
+ const String& field_name,
+ Register recv_reg);
// Helper method to load a value quickly into register instead of pushing
// and popping it.
@@ -79,6 +83,11 @@
Register right_reg);
bool IsInlineableInstanceGetter(const Function& function);
+ void InlineInstanceGetter(AstNode* node,
+ intptr_t id,
+ AstNode* receiver,
+ const String& field_name,
+ Register recv_reg);
void CallDeoptimize(intptr_t node_id, intptr_t token_index);
« no previous file with comments | « vm/code_generator_ia32.cc ('k') | vm/opt_code_generator_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698