| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef SRC_ASMJS_ASM_TYPER_H_ | 5 #ifndef SRC_ASMJS_ASM_TYPER_H_ |
| 6 #define SRC_ASMJS_ASM_TYPER_H_ | 6 #define SRC_ASMJS_ASM_TYPER_H_ |
| 7 | 7 |
| 8 #include <cstdint> | 8 #include <cstdint> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <unordered_map> | 10 #include <unordered_map> |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 enum HeapAccessType { LoadFromHeap, StoreToHeap }; | 357 enum HeapAccessType { LoadFromHeap, StoreToHeap }; |
| 358 AsmType* ValidateHeapAccess(Property* heap, HeapAccessType access_type); | 358 AsmType* ValidateHeapAccess(Property* heap, HeapAccessType access_type); |
| 359 // 6.11 ValidateFloatCoercion | 359 // 6.11 ValidateFloatCoercion |
| 360 bool IsCallToFround(Call* call); | 360 bool IsCallToFround(Call* call); |
| 361 AsmType* ValidateFloatCoercion(Call* call); | 361 AsmType* ValidateFloatCoercion(Call* call); |
| 362 | 362 |
| 363 // 5.1 ParameterTypeAnnotations | 363 // 5.1 ParameterTypeAnnotations |
| 364 AsmType* ParameterTypeAnnotations(Variable* parameter, | 364 AsmType* ParameterTypeAnnotations(Variable* parameter, |
| 365 Expression* annotation); | 365 Expression* annotation); |
| 366 // 5.2 ReturnTypeAnnotations | 366 // 5.2 ReturnTypeAnnotations |
| 367 AsmType* ReturnTypeAnnotations(ReturnStatement* statement); | 367 AsmType* ReturnTypeAnnotations(Expression* ret_expr); |
| 368 // 5.4 VariableTypeAnnotations | 368 // 5.4 VariableTypeAnnotations |
| 369 // 5.5 GlobalVariableTypeAnnotations | 369 // 5.5 GlobalVariableTypeAnnotations |
| 370 AsmType* VariableTypeAnnotations( | 370 AsmType* VariableTypeAnnotations( |
| 371 Expression* initializer, | 371 Expression* initializer, |
| 372 VariableInfo::Mutability global = VariableInfo::kLocal); | 372 VariableInfo::Mutability global = VariableInfo::kLocal); |
| 373 AsmType* ImportExpression(Property* import); | 373 AsmType* ImportExpression(Property* import); |
| 374 AsmType* NewHeapView(CallNew* new_heap_view); | 374 AsmType* NewHeapView(CallNew* new_heap_view); |
| 375 | 375 |
| 376 Isolate* isolate_; | 376 Isolate* isolate_; |
| 377 Zone* zone_; | 377 Zone* zone_; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 ZoneVector<Assignment*> function_pointer_tables_; | 411 ZoneVector<Assignment*> function_pointer_tables_; |
| 412 | 412 |
| 413 DISALLOW_IMPLICIT_CONSTRUCTORS(AsmTyper); | 413 DISALLOW_IMPLICIT_CONSTRUCTORS(AsmTyper); |
| 414 }; | 414 }; |
| 415 | 415 |
| 416 } // namespace wasm | 416 } // namespace wasm |
| 417 } // namespace internal | 417 } // namespace internal |
| 418 } // namespace v8 | 418 } // namespace v8 |
| 419 | 419 |
| 420 #endif // SRC_ASMJS_ASM_TYPER_H_ | 420 #endif // SRC_ASMJS_ASM_TYPER_H_ |
| OLD | NEW |