Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 31431b71caf32cd1b4aefc0ad20b8566dea95d88..6e837ddb956c09c0fb56bd687185d7d75f176c25 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -418,7 +418,7 @@ HValue* CodeStubGraphBuilder<KeyedLoadFastElementStub>::BuildCodeStub() { |
HInstruction* load = BuildUncheckedMonomorphicElementAccess( |
GetParameter(0), GetParameter(1), NULL, NULL, |
casted_stub()->is_js_array(), casted_stub()->elements_kind(), |
- false, STANDARD_STORE, Representation::Tagged()); |
+ false, NEVER_RETURN_HOLE, STANDARD_STORE, Representation::Tagged()); |
return load; |
} |
@@ -463,7 +463,8 @@ HValue* CodeStubGraphBuilder<KeyedStoreFastElementStub>::BuildCodeStub() { |
BuildUncheckedMonomorphicElementAccess( |
GetParameter(0), GetParameter(1), GetParameter(2), NULL, |
casted_stub()->is_js_array(), casted_stub()->elements_kind(), |
- true, casted_stub()->store_mode(), Representation::Tagged()); |
+ true, NEVER_RETURN_HOLE, casted_stub()->store_mode(), |
+ Representation::Tagged()); |
return GetParameter(2); |
} |