Index: src/typing-asm.h |
diff --git a/src/typing-asm.h b/src/typing-asm.h |
index f5d2516fd5f5982951022d282edb94dd1a03398e..09eacaa0ae07717e0336916d71986ce99f2dd88a 100644 |
--- a/src/typing-asm.h |
+++ b/src/typing-asm.h |
@@ -6,6 +6,7 @@ |
#define V8_TYPING_ASM_H_ |
#include "src/allocation.h" |
+#include "src/ast/ast-type-bounds.h" |
#include "src/ast/ast.h" |
#include "src/effects.h" |
#include "src/type-info.h" |
@@ -24,6 +25,7 @@ class AsmTyper : public AstVisitor { |
bool Validate(); |
void set_allow_simd(bool simd) { allow_simd_ = simd; } |
const char* error_message() { return error_message_; } |
+ const AstTypeBounds* bounds() { return &bounds_; } |
enum StandardMember { |
kNone = 0, |
@@ -117,6 +119,8 @@ class AsmTyper : public AstVisitor { |
TypeCache const& cache_; |
+ AstTypeBounds bounds_; |
+ |
static const int kErrorMessageLimit = 100; |
char error_message_[kErrorMessageLimit]; |