| 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/base/flags.h" | 5 #include "src/base/flags.h" |
| 6 #include "src/bootstrapper.h" | 6 #include "src/bootstrapper.h" |
| 7 #include "src/compiler/graph-reducer.h" | 7 #include "src/compiler/graph-reducer.h" |
| 8 #include "src/compiler/js-operator.h" | 8 #include "src/compiler/js-operator.h" |
| 9 #include "src/compiler/node.h" | 9 #include "src/compiler/node.h" |
| 10 #include "src/compiler/node-properties.h" | 10 #include "src/compiler/node-properties.h" |
| (...skipping 1488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1499 return Bounds(lower, upper); | 1499 return Bounds(lower, upper); |
| 1500 } | 1500 } |
| 1501 | 1501 |
| 1502 | 1502 |
| 1503 Bounds Typer::Visitor::TypeJSStoreContext(Node* node) { | 1503 Bounds Typer::Visitor::TypeJSStoreContext(Node* node) { |
| 1504 UNREACHABLE(); | 1504 UNREACHABLE(); |
| 1505 return Bounds(); | 1505 return Bounds(); |
| 1506 } | 1506 } |
| 1507 | 1507 |
| 1508 | 1508 |
| 1509 Bounds Typer::Visitor::TypeJSLoadDynamicGlobal(Node* node) { |
| 1510 return Bounds::Unbounded(zone()); |
| 1511 } |
| 1512 |
| 1513 |
| 1514 Bounds Typer::Visitor::TypeJSLoadDynamicContext(Node* node) { |
| 1515 return Bounds::Unbounded(zone()); |
| 1516 } |
| 1517 |
| 1518 |
| 1509 Bounds Typer::Visitor::WrapContextBoundsForInput(Node* node) { | 1519 Bounds Typer::Visitor::WrapContextBoundsForInput(Node* node) { |
| 1510 Bounds outer = BoundsOrNone(NodeProperties::GetContextInput(node)); | 1520 Bounds outer = BoundsOrNone(NodeProperties::GetContextInput(node)); |
| 1511 if (outer.upper->Is(Type::None())) { | 1521 if (outer.upper->Is(Type::None())) { |
| 1512 return Bounds(Type::None()); | 1522 return Bounds(Type::None()); |
| 1513 } else { | 1523 } else { |
| 1514 DCHECK(outer.upper->Maybe(Type::Internal())); | 1524 DCHECK(outer.upper->Maybe(Type::Internal())); |
| 1515 return Bounds(Type::Context(outer.upper, zone())); | 1525 return Bounds(Type::Context(outer.upper, zone())); |
| 1516 } | 1526 } |
| 1517 } | 1527 } |
| 1518 | 1528 |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2366 TYPED_ARRAYS(TYPED_ARRAY_CASE) | 2376 TYPED_ARRAYS(TYPED_ARRAY_CASE) |
| 2367 #undef TYPED_ARRAY_CASE | 2377 #undef TYPED_ARRAY_CASE |
| 2368 } | 2378 } |
| 2369 } | 2379 } |
| 2370 return Type::Constant(value, zone()); | 2380 return Type::Constant(value, zone()); |
| 2371 } | 2381 } |
| 2372 | 2382 |
| 2373 } // namespace compiler | 2383 } // namespace compiler |
| 2374 } // namespace internal | 2384 } // namespace internal |
| 2375 } // namespace v8 | 2385 } // namespace v8 |
| OLD | NEW |