Merge V8 5.2.361.47 DO NOT MERGE
https://chromium.googlesource.com/v8/v8/+/5.2.361.47
FPIIM-449
Change-Id: Ibec421b85a9b88cb3a432ada642e469fe7e78346
(cherry picked from commit bcf72ee8e3b26f1d0726869c7ddb3921c68b09a8)
diff --git a/src/typing-asm.h b/src/typing-asm.h
index c7984b2..09eacaa 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 @@
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 @@
TypeCache const& cache_;
+ AstTypeBounds bounds_;
+
static const int kErrorMessageLimit = 100;
char error_message_[kErrorMessageLimit];
@@ -151,7 +155,8 @@
void SetType(Variable* variable, Type* type);
Type* GetType(Variable* variable);
- VariableInfo* GetVariableInfo(Variable* variable, bool setting);
+ VariableInfo* GetVariableInfo(Variable* variable);
+ VariableInfo* MakeVariableInfo(Variable* variable);
void SetVariableInfo(Variable* variable, const VariableInfo* info);
VariableInfo* LibType(ObjectTypeMap* map, Handle<String> name);
@@ -165,8 +170,6 @@
void VisitLiteral(Literal* expr, bool is_return);
- void VisitVariableProxy(VariableProxy* expr, bool assignment);
-
void VisitIntegerBitwiseOperator(BinaryOperation* expr, Type* left_expected,
Type* right_expected, Type* result_type,
bool conversion);