| Index: test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
| diff --git a/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
| index be38891b2f17d815cc9788de55a6f3c712eefd36..08253f99756dd93deb4d72468dbbc42ec14fb17a 100644
|
| --- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
| +++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
| @@ -185,10 +185,10 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) {
|
| .CompareOperation(Token::Value::INSTANCEOF, reg, 8)
|
| .CompareOperation(Token::Value::IN, reg, 9);
|
|
|
| - // Emit cast operator invocations.
|
| - builder.CastAccumulatorToNumber(reg)
|
| - .CastAccumulatorToJSObject(reg)
|
| - .CastAccumulatorToName(reg);
|
| + // Emit conversion operator invocations.
|
| + builder.ConvertAccumulatorToNumber(reg)
|
| + .ConvertAccumulatorToObject(reg)
|
| + .ConvertAccumulatorToName(reg);
|
|
|
| // Emit control flow. Return must be the last instruction.
|
| BytecodeLabel start;
|
|
|