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

Unified Diff: runtime/vm/opt_code_generator_ia32.h

Issue 8945002: Optimize instance setters for non-implicit-setters and for setters with multiple targets. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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 | « no previous file | runtime/vm/opt_code_generator_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/opt_code_generator_ia32.h
===================================================================
--- runtime/vm/opt_code_generator_ia32.h (revision 2450)
+++ runtime/vm/opt_code_generator_ia32.h (working copy)
@@ -16,6 +16,7 @@
// Forward declarations.
class ClassesForLocals;
class DeoptimizationBlob;
+struct InstanceSetterArgs;
// Temporary hierarchy, until optimized code generator implemented.
// The optimizing compiler does not run if type checks are enabled.
@@ -83,12 +84,6 @@
AstNode* receiver,
const String& field_name,
Register recv_reg);
- void InlineInstanceSettersWithSameTarget(AstNode* node,
- intptr_t id,
- AstNode* receiver,
- const String& field_name,
- Register recv_reg,
- Register value_reg);
// Helper method to load a value quickly into register instead of pushing
// and popping it.
@@ -103,6 +98,8 @@
AstNode* receiver,
const String& field_name,
Register recv_reg);
+
+ void GenerateInstanceSetter(const InstanceSetterArgs& args);
void InlineInstanceSetter(AstNode* node,
intptr_t id,
AstNode* receiver,
« no previous file with comments | « no previous file | runtime/vm/opt_code_generator_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698