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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/typing-asm.h" | 7 #include "src/typing-asm.h" |
8 | 8 |
9 #include "src/ast/ast.h" | 9 #include "src/ast/ast.h" |
10 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 | 37 |
38 AsmTyper::AsmTyper(Isolate* isolate, Zone* zone, Script* script, | 38 AsmTyper::AsmTyper(Isolate* isolate, Zone* zone, Script* script, |
39 FunctionLiteral* root) | 39 FunctionLiteral* root) |
40 : zone_(zone), | 40 : zone_(zone), |
41 isolate_(isolate), | 41 isolate_(isolate), |
42 script_(script), | 42 script_(script), |
43 root_(root), | 43 root_(root), |
44 valid_(true), | 44 valid_(true), |
45 allow_simd_(false), | 45 allow_simd_(false), |
| 46 property_info_(NULL), |
46 intish_(0), | 47 intish_(0), |
47 stdlib_types_(zone), | 48 stdlib_types_(zone), |
48 stdlib_heap_types_(zone), | 49 stdlib_heap_types_(zone), |
49 stdlib_math_types_(zone), | 50 stdlib_math_types_(zone), |
50 #define V(NAME, Name, name, lane_count, lane_type) \ | 51 #define V(NAME, Name, name, lane_count, lane_type) \ |
51 stdlib_simd_##name##_types_(zone), | 52 stdlib_simd_##name##_types_(zone), |
52 SIMD128_TYPES(V) | 53 SIMD128_TYPES(V) |
53 #undef V | 54 #undef V |
54 global_variable_type_(HashMap::PointersMatch, | 55 global_variable_type_(HashMap::PointersMatch, |
55 ZoneHashMap::kDefaultHashMapCapacity, | 56 ZoneHashMap::kDefaultHashMapCapacity, |
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1370 computed_type_->Print(); | 1371 computed_type_->Print(); |
1371 PrintF("Expected type: "); | 1372 PrintF("Expected type: "); |
1372 expected_type_->Print(); | 1373 expected_type_->Print(); |
1373 #endif | 1374 #endif |
1374 FAIL(expr, msg); | 1375 FAIL(expr, msg); |
1375 } | 1376 } |
1376 expected_type_ = save; | 1377 expected_type_ = save; |
1377 } | 1378 } |
1378 } // namespace internal | 1379 } // namespace internal |
1379 } // namespace v8 | 1380 } // namespace v8 |
OLD | NEW |