Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 860586a88c41a7df68789e2f2ddc1857fb66f450..cb50c79a5700061a33ede87fab13f556d7f557c6 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -1637,9 +1637,9 @@ HValue* CodeStubGraphBuilderBase::BuildToString(HValue* input, bool convert) { |
// Convert the primitive to a string value. |
ToStringStub stub(isolate()); |
HValue* values[] = {context(), Pop()}; |
- Push(AddUncasted<HCallWithDescriptor>( |
- Add<HConstant>(stub.GetCode()), 0, stub.GetCallInterfaceDescriptor(), |
- Vector<HValue*>(values, arraysize(values)))); |
+ Push(AddUncasted<HCallWithDescriptor>(Add<HConstant>(stub.GetCode()), 0, |
+ stub.GetCallInterfaceDescriptor(), |
+ ArrayVector(values))); |
} |
if_inputisstring.End(); |
} |