Index: src/compiler/bytecode-graph-builder.cc |
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc |
index dbdda35039b80d26ba5136b0b1e63cf88b34f0c9..3de472f322fbdaa2552cd309879f79309e744882 100644 |
--- a/src/compiler/bytecode-graph-builder.cc |
+++ b/src/compiler/bytecode-graph-builder.cc |
@@ -1001,8 +1001,7 @@ Node* BytecodeGraphBuilder::ProcessCallRuntimeArguments( |
void BytecodeGraphBuilder::VisitCallRuntime() { |
FrameStateBeforeAndAfter states(this); |
- Runtime::FunctionId functionId = static_cast<Runtime::FunctionId>( |
- bytecode_iterator().GetRuntimeIdOperand(0)); |
+ Runtime::FunctionId functionId = bytecode_iterator().GetRuntimeIdOperand(0); |
interpreter::Register first_arg = bytecode_iterator().GetRegisterOperand(1); |
size_t arg_count = bytecode_iterator().GetRegisterCountOperand(2); |
@@ -1014,8 +1013,7 @@ void BytecodeGraphBuilder::VisitCallRuntime() { |
void BytecodeGraphBuilder::VisitCallRuntimeForPair() { |
FrameStateBeforeAndAfter states(this); |
- Runtime::FunctionId functionId = static_cast<Runtime::FunctionId>( |
- bytecode_iterator().GetRuntimeIdOperand(0)); |
+ Runtime::FunctionId functionId = bytecode_iterator().GetRuntimeIdOperand(0); |
interpreter::Register first_arg = bytecode_iterator().GetRegisterOperand(1); |
size_t arg_count = bytecode_iterator().GetRegisterCountOperand(2); |
interpreter::Register first_return = |
@@ -1029,8 +1027,7 @@ void BytecodeGraphBuilder::VisitCallRuntimeForPair() { |
void BytecodeGraphBuilder::VisitInvokeIntrinsic() { |
FrameStateBeforeAndAfter states(this); |
- Runtime::FunctionId functionId = static_cast<Runtime::FunctionId>( |
- bytecode_iterator().GetRuntimeIdOperand(0)); |
+ Runtime::FunctionId functionId = bytecode_iterator().GetIntrinsicIdOperand(0); |
interpreter::Register first_arg = bytecode_iterator().GetRegisterOperand(1); |
size_t arg_count = bytecode_iterator().GetRegisterCountOperand(2); |