Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index ce60a58b2e808e2c0709dd3bbc7e6a0fbf54be48..58e17f43f2adf7f98883e97db94b7297710949cb 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -40,7 +40,7 @@ Handle<Code> HydrogenCodeStub::CodeFromGraph(HGraph* graph) { |
graph->AssignDominators(); |
graph->CollectPhis(); |
graph->InsertRepresentationChanges(); |
- graph->ApplyActualValues(); |
+ graph->EliminateRedundantBoundsChecks(); |
LChunk* chunk = LChunk::NewChunk(graph); |
ASSERT(chunk != NULL); |
Handle<Code> stub = chunk->Codegen(Code::COMPILED_STUB); |
@@ -123,8 +123,7 @@ void CodeStubGraphBuilder<KeyedLoadFastElementStub>::BuildCodeStub() { |
HInstruction* load = BuildUncheckedMonomorphicElementAccess( |
GetParameter(0), GetParameter(1), NULL, NULL, |
- casted_stub()->is_js_array(), casted_stub()->elements_kind(), |
- false, Representation::Tagged()); |
+ casted_stub()->is_js_array(), casted_stub()->elements_kind(), false); |
AddInstruction(load); |
HReturn* ret = new(zone) HReturn(load, context()); |