| 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/bootstrapper.h" | 5 #include "src/bootstrapper.h" |
| 6 #include "src/compiler/graph-inl.h" | 6 #include "src/compiler/graph-inl.h" |
| 7 #include "src/compiler/js-operator.h" | 7 #include "src/compiler/js-operator.h" |
| 8 #include "src/compiler/node.h" | 8 #include "src/compiler/node.h" |
| 9 #include "src/compiler/node-properties-inl.h" | 9 #include "src/compiler/node-properties-inl.h" |
| 10 #include "src/compiler/node-properties.h" | 10 #include "src/compiler/node-properties.h" |
| (...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1257 } | 1257 } |
| 1258 | 1258 |
| 1259 | 1259 |
| 1260 Bounds Typer::Visitor::TypeJSCreateModuleContext(Node* node) { | 1260 Bounds Typer::Visitor::TypeJSCreateModuleContext(Node* node) { |
| 1261 // TODO(rossberg): this is probably incorrect | 1261 // TODO(rossberg): this is probably incorrect |
| 1262 Bounds outer = ContextOperand(node); | 1262 Bounds outer = ContextOperand(node); |
| 1263 return Bounds(Type::Context(outer.upper, zone())); | 1263 return Bounds(Type::Context(outer.upper, zone())); |
| 1264 } | 1264 } |
| 1265 | 1265 |
| 1266 | 1266 |
| 1267 Bounds Typer::Visitor::TypeJSCreateGlobalContext(Node* node) { | 1267 Bounds Typer::Visitor::TypeJSCreateScriptContext(Node* node) { |
| 1268 Bounds outer = ContextOperand(node); | 1268 Bounds outer = ContextOperand(node); |
| 1269 return Bounds(Type::Context(outer.upper, zone())); | 1269 return Bounds(Type::Context(outer.upper, zone())); |
| 1270 } | 1270 } |
| 1271 | 1271 |
| 1272 | 1272 |
| 1273 // JS other operators. | 1273 // JS other operators. |
| 1274 | 1274 |
| 1275 | 1275 |
| 1276 Bounds Typer::Visitor::TypeJSYield(Node* node) { | 1276 Bounds Typer::Visitor::TypeJSYield(Node* node) { |
| 1277 return Bounds::Unbounded(zone()); | 1277 return Bounds::Unbounded(zone()); |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1932 return typer_->float64_array_fun_; | 1932 return typer_->float64_array_fun_; |
| 1933 } | 1933 } |
| 1934 } | 1934 } |
| 1935 } | 1935 } |
| 1936 return Type::Constant(value, zone()); | 1936 return Type::Constant(value, zone()); |
| 1937 } | 1937 } |
| 1938 | 1938 |
| 1939 } | 1939 } |
| 1940 } | 1940 } |
| 1941 } // namespace v8::internal::compiler | 1941 } // namespace v8::internal::compiler |
| OLD | NEW |