| Index: test/cctest/expression-type-collector-macros.h
|
| diff --git a/test/cctest/expression-type-collector-macros.h b/test/cctest/expression-type-collector-macros.h
|
| index edc1f0911e197984624da1bf436e6736780cb3a7..0b739f40b720e8554f730cecb2b2f5b0e731cc45 100644
|
| --- a/test/cctest/expression-type-collector-macros.h
|
| +++ b/test/cctest/expression-type-collector-macros.h
|
| @@ -14,17 +14,11 @@
|
| CHECK_EQ(index, types.size()); \
|
| }
|
|
|
| -#define DEFAULT_TYPE Bounds::Unbounded()
|
| -#define INT32_TYPE \
|
| - Bounds(Type::Signed32(handles.main_zone()), \
|
| - Type::Signed32(handles.main_zone()))
|
| -
|
| -#define CHECK_EXPR(ekind, type) \
|
| - CHECK_LT(index, types.size()); \
|
| - CHECK(strcmp(#ekind, types[index].kind) == 0); \
|
| - CHECK_EQ(depth, types[index].depth); \
|
| - CHECK(type.lower->Is(types[index].bounds.lower)); \
|
| - CHECK(type.upper->Is(types[index].bounds.upper)); \
|
| +#define CHECK_EXPR(ekind, type) \
|
| + CHECK_LT(index, types.size()); \
|
| + CHECK(strcmp(#ekind, types[index].kind) == 0); \
|
| + CHECK_EQ(depth, types[index].depth); \
|
| + CHECK(types[index].bounds.Narrows(type)); \
|
| for (int j = (++depth, ++index, 0); j < 1 ? 1 : (--depth, 0); ++j)
|
|
|
| #define CHECK_VAR(vname, type) \
|
| @@ -33,4 +27,12 @@
|
| types[index - 1].name->raw_data() + \
|
| types[index - 1].name->byte_length()));
|
|
|
| +#define CHECK_SKIP() \
|
| + { \
|
| + ++index; \
|
| + while (index < types.size() && types[index].depth > depth) { \
|
| + ++index; \
|
| + } \
|
| + }
|
| +
|
| #endif // V8_EXPRESSION_TYPE_COLLECTOR_MACROS_H_
|
|
|