Index: test/cctest/interpreter/bytecode-expectations-printer.cc |
diff --git a/test/cctest/interpreter/bytecode-expectations-printer.cc b/test/cctest/interpreter/bytecode-expectations-printer.cc |
index dcc4883058960d6c4273ce05fa3b88945d8c565e..6c9b64be8f6fd92aac66c422c4f15c37a5276d73 100644 |
--- a/test/cctest/interpreter/bytecode-expectations-printer.cc |
+++ b/test/cctest/interpreter/bytecode-expectations-printer.cc |
@@ -175,13 +175,13 @@ void BytecodeExpectationsPrinter::PrintBytecodeOperand( |
stream << '(' << register_value.index() << ')'; |
} |
} else { |
- stream << 'U' << size_tag << '('; |
- |
switch (op_type) { |
case OperandType::kFlag8: |
+ stream << 'U' << size_tag << '('; |
stream << bytecode_iterator.GetFlagOperand(op_index); |
break; |
case OperandType::kIdx: { |
+ stream << 'U' << size_tag << '('; |
uint32_t idx = bytecode_iterator.GetIndexOperand(op_index); |
if (bytecode == Bytecode::kCallJSRuntime && op_index == 0) { |
stream << "%" << NameForNativeContextIntrinsicIndex(idx); |
@@ -191,21 +191,26 @@ void BytecodeExpectationsPrinter::PrintBytecodeOperand( |
break; |
} |
case OperandType::kUImm: |
+ stream << 'U' << size_tag << '('; |
stream << bytecode_iterator.GetUnsignedImmediateOperand(op_index); |
break; |
case OperandType::kImm: |
+ stream << 'I' << size_tag << '('; |
stream << bytecode_iterator.GetImmediateOperand(op_index); |
break; |
case OperandType::kRegCount: |
+ stream << 'U' << size_tag << '('; |
stream << bytecode_iterator.GetRegisterCountOperand(op_index); |
break; |
case OperandType::kRuntimeId: { |
+ stream << 'U' << size_tag << '('; |
Runtime::FunctionId id = |
bytecode_iterator.GetRuntimeIdOperand(op_index); |
stream << "Runtime::k" << i::Runtime::FunctionForId(id)->name; |
break; |
} |
case OperandType::kIntrinsicId: { |
+ stream << 'U' << size_tag << '('; |
Runtime::FunctionId id = |
bytecode_iterator.GetIntrinsicIdOperand(op_index); |
stream << "Runtime::k" << i::Runtime::FunctionForId(id)->name; |