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/typer.h" | 5 #include "src/compiler/typer.h" |
6 | 6 |
7 #include "src/base/flags.h" | 7 #include "src/base/flags.h" |
8 #include "src/base/lazy-instance.h" | 8 #include "src/base/lazy-instance.h" |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
11 #include "src/compiler/graph-reducer.h" | 11 #include "src/compiler/graph-reducer.h" |
12 #include "src/compiler/js-operator.h" | 12 #include "src/compiler/js-operator.h" |
13 #include "src/compiler/node.h" | 13 #include "src/compiler/node.h" |
14 #include "src/compiler/node-properties.h" | 14 #include "src/compiler/node-properties.h" |
15 #include "src/compiler/simplified-operator.h" | 15 #include "src/compiler/simplified-operator.h" |
| 16 #include "src/objects-inl.h" |
16 #include "src/zone-type-cache.h" | 17 #include "src/zone-type-cache.h" |
17 | 18 |
18 namespace v8 { | 19 namespace v8 { |
19 namespace internal { | 20 namespace internal { |
20 namespace compiler { | 21 namespace compiler { |
21 | 22 |
22 namespace { | 23 namespace { |
23 | 24 |
24 base::LazyInstance<ZoneTypeCache>::type kCache = LAZY_INSTANCE_INITIALIZER; | 25 base::LazyInstance<ZoneTypeCache>::type kCache = LAZY_INSTANCE_INITIALIZER; |
25 | 26 |
(...skipping 2266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2292 TYPED_ARRAYS(TYPED_ARRAY_CASE) | 2293 TYPED_ARRAYS(TYPED_ARRAY_CASE) |
2293 #undef TYPED_ARRAY_CASE | 2294 #undef TYPED_ARRAY_CASE |
2294 } | 2295 } |
2295 } | 2296 } |
2296 return Type::Constant(value, zone()); | 2297 return Type::Constant(value, zone()); |
2297 } | 2298 } |
2298 | 2299 |
2299 } // namespace compiler | 2300 } // namespace compiler |
2300 } // namespace internal | 2301 } // namespace internal |
2301 } // namespace v8 | 2302 } // namespace v8 |
OLD | NEW |