| Index: test/cctest/compiler/test-js-context-specialization.cc
|
| diff --git a/test/cctest/compiler/test-js-context-specialization.cc b/test/cctest/compiler/test-js-context-specialization.cc
|
| index 47c660ae0d796907791b44c32647bec6c91c1434..46d6e436c0a5f3b5321bd235ae2257fce3e52bdb 100644
|
| --- a/test/cctest/compiler/test-js-context-specialization.cc
|
| +++ b/test/cctest/compiler/test-js-context-specialization.cc
|
| @@ -95,8 +95,8 @@ TEST(ReduceJSLoadContext) {
|
| HeapObjectMatcher<Context> match(new_context_input);
|
| CHECK_EQ(*native, *match.Value().handle());
|
| ContextAccess access = OpParameter<ContextAccess>(r.replacement());
|
| - CHECK_EQ(Context::GLOBAL_EVAL_FUN_INDEX, access.index());
|
| - CHECK_EQ(0, access.depth());
|
| + CHECK_EQ(Context::GLOBAL_EVAL_FUN_INDEX, static_cast<int>(access.index()));
|
| + CHECK_EQ(0, static_cast<int>(access.depth()));
|
| CHECK_EQ(false, access.immutable());
|
| }
|
|
|
| @@ -175,8 +175,8 @@ TEST(ReduceJSStoreContext) {
|
| HeapObjectMatcher<Context> match(new_context_input);
|
| CHECK_EQ(*native, *match.Value().handle());
|
| ContextAccess access = OpParameter<ContextAccess>(r.replacement());
|
| - CHECK_EQ(Context::GLOBAL_EVAL_FUN_INDEX, access.index());
|
| - CHECK_EQ(0, access.depth());
|
| + CHECK_EQ(Context::GLOBAL_EVAL_FUN_INDEX, static_cast<int>(access.index()));
|
| + CHECK_EQ(0, static_cast<int>(access.depth()));
|
| CHECK_EQ(false, access.immutable());
|
| }
|
| }
|
|
|