diff --git a/test/cctest/compiler/test-run-properties.cc b/test/cctest/compiler/test-run-properties.cc index 3e95faea46..d4442f7a85 100644 --- a/test/cctest/compiler/test-run-properties.cc +++ b/test/cctest/compiler/test-run-properties.cc @@ -47,8 +47,8 @@ static void TypedArrayLoadHelper(const char* array_type) { CompilationInfo::kContextSpecializing | CompilationInfo::kTypingEnabled); for (size_t i = 0; i < arraysize(kValues); ++i) { for (size_t j = 0; j < arraysize(kValues); ++j) { - volatile U value_a = static_cast(kValues[i]); - volatile U value_b = static_cast(kValues[j]); + volatile U value_a = static_cast(kValues[i]); + volatile U value_b = static_cast(kValues[j]); double expected = static_cast(value_a) + static_cast(value_b); T.CheckCall(T.Val(expected), T.Val(static_cast(i)), @@ -116,8 +116,8 @@ static void TypedArrayStoreHelper(const char* array_type) { CompilationInfo::kContextSpecializing | CompilationInfo::kTypingEnabled); for (size_t i = 0; i < arraysize(kValues); ++i) { for (size_t j = 0; j < arraysize(kValues); ++j) { - volatile U value_a = static_cast(kValues[i]); - volatile U value_b = static_cast(kValues[j]); + volatile U value_a = static_cast(kValues[i]); + volatile U value_b = static_cast(kValues[j]); double expected = static_cast(value_a) + static_cast(value_b); T.CheckCall(T.Val(expected), T.Val(static_cast(i)),