OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/typing-asm.h" | 5 #include "src/typing-asm.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/v8.h" | 9 #include "src/v8.h" |
10 | 10 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 allow_simd_(false), | 46 allow_simd_(false), |
47 property_info_(nullptr), | 47 property_info_(nullptr), |
48 intish_(0), | 48 intish_(0), |
49 stdlib_types_(zone), | 49 stdlib_types_(zone), |
50 stdlib_heap_types_(zone), | 50 stdlib_heap_types_(zone), |
51 stdlib_math_types_(zone), | 51 stdlib_math_types_(zone), |
52 #define V(NAME, Name, name, lane_count, lane_type) \ | 52 #define V(NAME, Name, name, lane_count, lane_type) \ |
53 stdlib_simd_##name##_types_(zone), | 53 stdlib_simd_##name##_types_(zone), |
54 SIMD128_TYPES(V) | 54 SIMD128_TYPES(V) |
55 #undef V | 55 #undef V |
56 global_variable_type_(HashMap::PointersMatch, | 56 global_variable_type_(base::HashMap::PointersMatch, |
57 ZoneHashMap::kDefaultHashMapCapacity, | 57 ZoneHashMap::kDefaultHashMapCapacity, |
58 ZoneAllocationPolicy(zone)), | 58 ZoneAllocationPolicy(zone)), |
59 local_variable_type_(HashMap::PointersMatch, | 59 local_variable_type_(base::HashMap::PointersMatch, |
60 ZoneHashMap::kDefaultHashMapCapacity, | 60 ZoneHashMap::kDefaultHashMapCapacity, |
61 ZoneAllocationPolicy(zone)), | 61 ZoneAllocationPolicy(zone)), |
62 in_function_(false), | 62 in_function_(false), |
63 building_function_tables_(false), | 63 building_function_tables_(false), |
64 visiting_exports_(false), | 64 visiting_exports_(false), |
65 cache_(TypeCache::Get()), | 65 cache_(TypeCache::Get()), |
66 bounds_(zone) { | 66 bounds_(zone) { |
67 InitializeAstVisitor(isolate); | 67 InitializeAstVisitor(isolate); |
68 InitializeStdlib(); | 68 InitializeStdlib(); |
69 } | 69 } |
(...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1630 } | 1630 } |
1631 | 1631 |
1632 | 1632 |
1633 void AsmTyper::VisitRewritableExpression(RewritableExpression* expr) { | 1633 void AsmTyper::VisitRewritableExpression(RewritableExpression* expr) { |
1634 RECURSE(Visit(expr->expression())); | 1634 RECURSE(Visit(expr->expression())); |
1635 } | 1635 } |
1636 | 1636 |
1637 | 1637 |
1638 } // namespace internal | 1638 } // namespace internal |
1639 } // namespace v8 | 1639 } // namespace v8 |
OLD | NEW |