Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Unified Diff: src/typing-asm.h

Issue 1968383002: Remove Expression::bounds_, in order to conserve memory during parsing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove Expression::bounds_ Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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];

Powered by Google App Engine
This is Rietveld 408576698