Index: src/builtins/builtins-conversion.cc |
diff --git a/src/builtins/builtins-conversion.cc b/src/builtins/builtins-conversion.cc |
index 5292b16cde0eb5aaaea281368f8d2c94c2db4177..177b739c4b75348eaeb310a9e46d1f7e50b8d1a0 100644 |
--- a/src/builtins/builtins-conversion.cc |
+++ b/src/builtins/builtins-conversion.cc |
@@ -452,8 +452,7 @@ void Builtins::Generate_ToObject(compiler::CodeAssemblerState* state) { |
assembler.Bind(&if_wrapjsvalue); |
Node* native_context = assembler.LoadNativeContext(context); |
Node* constructor = assembler.LoadFixedArrayElement( |
- native_context, constructor_function_index_var.value(), 0, |
- CodeStubAssembler::INTPTR_PARAMETERS); |
+ native_context, constructor_function_index_var.value()); |
Node* initial_map = assembler.LoadObjectField( |
constructor, JSFunction::kPrototypeOrInitialMapOffset); |
Node* js_value = assembler.Allocate(JSValue::kSize); |