Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index db51b22896fefb2b5b95cf1394038b44769aa29d..bdb3024f4b2c215795c3044b4183e850beb32cbb 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -35,7 +35,6 @@ namespace v8 { |
namespace internal { |
-// TODO(svenpanne) Merge with OptimizingCompiler::OptimizeGraph(). |
static LChunk* OptimizeGraph(HGraph* graph) { |
AssertNoAllocation no_gc; |
NoHandleAllocation no_handles; |
@@ -129,7 +128,8 @@ void CodeStubGraphBuilder<KeyedLoadFastElementStub>::BuildCodeStub() { |
HInstruction* load = BuildUncheckedMonomorphicElementAccess( |
GetParameter(0), GetParameter(1), NULL, NULL, |
- casted_stub()->is_js_array(), casted_stub()->elements_kind(), false); |
+ casted_stub()->is_js_array(), casted_stub()->elements_kind(), |
+ false, Representation::Tagged()); |
AddInstruction(load); |
HReturn* ret = new(zone) HReturn(load, context()); |