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 c83af5860543fd9ab277390329688966260e2040..ee5562e3ca1ee51b16ea64164d2a0492fc8d28f1 100644 |
--- a/test/cctest/test-code-stub-assembler.cc |
+++ b/test/cctest/test-code-stub-assembler.cc |
@@ -61,13 +61,14 @@ TEST(LoadInstanceType) { |
Handle<Smi>::cast(result.ToHandleChecked())->value()); |
} |
-TEST(BitFieldDecode) { |
+TEST(DecodeWordFromWord32) { |
Isolate* isolate(CcTest::InitIsolateOnce()); |
VoidDescriptor descriptor(isolate); |
CodeStubAssemblerTester m(isolate, descriptor); |
class TestBitField : public BitField<unsigned, 3, 3> {}; |
- m.Return(m.SmiTag(m.BitFieldDecode<TestBitField>(m.Int32Constant(0x2f)))); |
+ m.Return( |
+ m.SmiTag(m.DecodeWordFromWord32<TestBitField>(m.Int32Constant(0x2f)))); |
Handle<Code> code = m.GenerateCode(); |
FunctionTester ft(descriptor, code); |
MaybeHandle<Object> result = ft.Call(); |