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

Side by Side Diff: src/compiler/simplified-operator-reducer.cc

Issue 562203004: Avoid usage of temporary MachineOperatorBuilder. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/generic-node-inl.h" 5 #include "src/compiler/generic-node-inl.h"
6 #include "src/compiler/js-graph.h" 6 #include "src/compiler/js-graph.h"
7 #include "src/compiler/machine-operator.h" 7 #include "src/compiler/machine-operator.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/simplified-operator-reducer.h" 9 #include "src/compiler/simplified-operator-reducer.h"
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 } 130 }
131 131
132 132
133 Graph* SimplifiedOperatorReducer::graph() const { return jsgraph()->graph(); } 133 Graph* SimplifiedOperatorReducer::graph() const { return jsgraph()->graph(); }
134 134
135 135
136 Factory* SimplifiedOperatorReducer::factory() const { 136 Factory* SimplifiedOperatorReducer::factory() const {
137 return jsgraph()->isolate()->factory(); 137 return jsgraph()->isolate()->factory();
138 } 138 }
139 139
140
141 MachineOperatorBuilder* SimplifiedOperatorReducer::machine() const {
142 return jsgraph()->machine();
143 }
144
140 } // namespace compiler 145 } // namespace compiler
141 } // namespace internal 146 } // namespace internal
142 } // namespace v8 147 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator-reducer.h ('k') | src/compiler/simplified-operator-reducer-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698