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