OLD | NEW |
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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 return bounds; | 302 return bounds; |
303 } | 303 } |
304 | 304 |
305 | 305 |
306 Bounds Typer::Visitor::TypeEffectPhi(Node* node) { | 306 Bounds Typer::Visitor::TypeEffectPhi(Node* node) { |
307 UNREACHABLE(); | 307 UNREACHABLE(); |
308 return Bounds(); | 308 return Bounds(); |
309 } | 309 } |
310 | 310 |
311 | 311 |
312 Bounds Typer::Visitor::TypeControlEffect(Node* node) { | |
313 UNREACHABLE(); | |
314 return Bounds(); | |
315 } | |
316 | |
317 | |
318 Bounds Typer::Visitor::TypeValueEffect(Node* node) { | 312 Bounds Typer::Visitor::TypeValueEffect(Node* node) { |
319 UNREACHABLE(); | 313 UNREACHABLE(); |
320 return Bounds(); | 314 return Bounds(); |
321 } | 315 } |
322 | 316 |
323 | 317 |
324 Bounds Typer::Visitor::TypeFinish(Node* node) { | 318 Bounds Typer::Visitor::TypeFinish(Node* node) { |
325 return OperandType(node, 0); | 319 return OperandType(node, 0); |
326 } | 320 } |
327 | 321 |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 } | 900 } |
907 | 901 |
908 | 902 |
909 void Typer::DecorateGraph(Graph* graph) { | 903 void Typer::DecorateGraph(Graph* graph) { |
910 graph->AddDecorator(new (zone()) TyperDecorator(this)); | 904 graph->AddDecorator(new (zone()) TyperDecorator(this)); |
911 } | 905 } |
912 | 906 |
913 } | 907 } |
914 } | 908 } |
915 } // namespace v8::internal::compiler | 909 } // namespace v8::internal::compiler |
OLD | NEW |