| Index: test/cctest/test-compiler.cc
|
| diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc
|
| index e47b1d61bd9228b86c45098d6867b8a8f9de1e3c..002ed9ca6e89ab09d6f23de58457f65c338e5351 100644
|
| --- a/test/cctest/test-compiler.cc
|
| +++ b/test/cctest/test-compiler.cc
|
| @@ -316,7 +316,7 @@ TEST(FeedbackVectorPreservedAcrossRecompiles) {
|
| FeedbackVectorICSlot slot_for_a(0);
|
| Object* object = feedback_vector->Get(slot_for_a);
|
| CHECK(object->IsWeakCell() &&
|
| - WeakCell::cast(object)->value()->IsJSFunction());
|
| + WeakCell::cast(object)->ValueNoReadBarrier()->IsJSFunction());
|
|
|
| CompileRun("%OptimizeFunctionOnNextCall(f); f(fun1);");
|
|
|
| @@ -326,7 +326,7 @@ TEST(FeedbackVectorPreservedAcrossRecompiles) {
|
| CHECK(f->shared()->has_deoptimization_support());
|
| object = f->shared()->feedback_vector()->Get(slot_for_a);
|
| CHECK(object->IsWeakCell() &&
|
| - WeakCell::cast(object)->value()->IsJSFunction());
|
| + WeakCell::cast(object)->ValueNoReadBarrier()->IsJSFunction());
|
| }
|
|
|
|
|
|
|