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

Side by Side Diff: src/compiler/typer.cc

Issue 479163002: [turbofan] Add new ControlEffect and Finish operators. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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 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/graph-inl.h" 5 #include "src/compiler/graph-inl.h"
6 #include "src/compiler/js-operator.h" 6 #include "src/compiler/js-operator.h"
7 #include "src/compiler/node.h" 7 #include "src/compiler/node.h"
8 #include "src/compiler/node-properties-inl.h" 8 #include "src/compiler/node-properties-inl.h"
9 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
10 #include "src/compiler/simplified-operator.h" 10 #include "src/compiler/simplified-operator.h"
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 } 260 }
261 return bounds; 261 return bounds;
262 } 262 }
263 263
264 264
265 Bounds Typer::Visitor::TypeEffectPhi(Node* node) { 265 Bounds Typer::Visitor::TypeEffectPhi(Node* node) {
266 return Bounds(Type::None(zone())); 266 return Bounds(Type::None(zone()));
267 } 267 }
268 268
269 269
270 Bounds Typer::Visitor::TypeControlEffect(Node* node) {
271 return Bounds(Type::None(zone()));
272 }
273
274
275 Bounds Typer::Visitor::TypeFinish(Node* node) { return OperandType(node, 0); }
276
277
270 Bounds Typer::Visitor::TypeFrameState(Node* node) { 278 Bounds Typer::Visitor::TypeFrameState(Node* node) {
271 return Bounds(Type::None(zone())); 279 return Bounds(Type::None(zone()));
272 } 280 }
273 281
274 282
275 Bounds Typer::Visitor::TypeStateValues(Node* node) { 283 Bounds Typer::Visitor::TypeStateValues(Node* node) {
276 return Bounds(Type::None(zone())); 284 return Bounds(Type::None(zone()));
277 } 285 }
278 286
279 287
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 } 841 }
834 842
835 843
836 void Typer::DecorateGraph(Graph* graph) { 844 void Typer::DecorateGraph(Graph* graph) {
837 graph->AddDecorator(new (zone()) TyperDecorator(this)); 845 graph->AddDecorator(new (zone()) TyperDecorator(this));
838 } 846 }
839 847
840 } 848 }
841 } 849 }
842 } // namespace v8::internal::compiler 850 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/operator-properties-inl.h ('k') | test/compiler-unittests/change-lowering-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698