Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 4f6db35dd93a974d7ed796b1b326f4b99dce6937..9bbab9ab7c69ee67beb514754d117d193ed3c94b 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -352,7 +352,7 @@ HValue* CodeStubGraphBuilder<FastCloneShallowArrayStub>::BuildCodeStub() { |
HObjectAccess access = HObjectAccess::ForAllocationSiteTransitionInfo(); |
HInstruction* boilerplate = Add<HLoadNamedField>(allocation_site, access); |
if (mode == FastCloneShallowArrayStub::CLONE_ANY_ELEMENTS) { |
- HValue* elements = AddLoadElements(boilerplate, NULL); |
+ HValue* elements = AddLoadElements(boilerplate); |
IfBuilder if_fixed_cow(this); |
if_fixed_cow.If<HCompareMap>(elements, factory->fixed_cow_array_map()); |
@@ -513,7 +513,7 @@ HValue* CodeStubGraphBuilder<LoadFieldStub>::BuildCodeStub() { |
HObjectAccess access = casted_stub()->is_inobject() ? |
HObjectAccess::ForJSObjectOffset(casted_stub()->offset(), rep) : |
HObjectAccess::ForBackingStoreOffset(casted_stub()->offset(), rep); |
- return AddInstruction(BuildLoadNamedField(GetParameter(0), access, NULL)); |
+ return AddInstruction(BuildLoadNamedField(GetParameter(0), access)); |
} |
@@ -528,7 +528,7 @@ HValue* CodeStubGraphBuilder<KeyedLoadFieldStub>::BuildCodeStub() { |
HObjectAccess access = casted_stub()->is_inobject() ? |
HObjectAccess::ForJSObjectOffset(casted_stub()->offset(), rep) : |
HObjectAccess::ForBackingStoreOffset(casted_stub()->offset(), rep); |
- return AddInstruction(BuildLoadNamedField(GetParameter(0), access, NULL)); |
+ return AddInstruction(BuildLoadNamedField(GetParameter(0), access)); |
} |