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

Unified Diff: runtime/vm/flow_graph_compiler_x64.h

Issue 10536145: Fuse comparisons that are used by branches together. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address review comments Created 8 years, 6 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
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_x64.h
diff --git a/runtime/vm/flow_graph_compiler_x64.h b/runtime/vm/flow_graph_compiler_x64.h
index 1977ec07336d726a54bbda46da231062217e55e0..f6b8910412e125ab76718536a5794c3efffb57a5 100644
--- a/runtime/vm/flow_graph_compiler_x64.h
+++ b/runtime/vm/flow_graph_compiler_x64.h
@@ -167,6 +167,9 @@ class FlowGraphCompiler : public ValueObject {
void FinalizeVarDescriptors(const Code& code);
void FinalizeComments(const Code& code);
+ const Bool& bool_true() const { return bool_true_; }
+ const Bool& bool_false() const { return bool_false_; }
+
static const int kLocalsOffsetFromFP = (-1 * kWordSize);
private:
@@ -266,6 +269,9 @@ class FlowGraphCompiler : public ValueObject {
GrowableArray<DeoptimizationStub*> deopt_stubs_;
const bool is_optimizing_;
+ const Bool& bool_true_;
+ const Bool& bool_false_;
+
DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
};
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698