Index: test/cctest/test-code-stub-assembler.cc |
diff --git a/test/cctest/test-code-stub-assembler.cc b/test/cctest/test-code-stub-assembler.cc |
index 0d0b5c5c498eb0478178d0c509c66eef91fd3b72..5ea21ca37aa51b27ac1bf06ee25fcd78a48a799d 100644 |
--- a/test/cctest/test-code-stub-assembler.cc |
+++ b/test/cctest/test-code-stub-assembler.cc |
@@ -1257,12 +1257,12 @@ TEST(TryProbeStubCache) { |
m.TryProbeStubCache(&stub_cache, receiver, name, &if_handler, &var_handler, |
&if_miss); |
m.Bind(&if_handler); |
- m.BranchIfWordEqual(expected_handler, var_handler.value(), &passed, |
- &failed); |
+ m.Branch(m.WordEqual(expected_handler, var_handler.value()), &passed, |
+ &failed); |
m.Bind(&if_miss); |
- m.BranchIfWordEqual(expected_handler, m.IntPtrConstant(0), &passed, |
- &failed); |
+ m.Branch(m.WordEqual(expected_handler, m.IntPtrConstant(0)), &passed, |
+ &failed); |
m.Bind(&passed); |
m.Return(m.BooleanConstant(true)); |