Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 20fd43c62816211a265d7f4bcd38b69533a8242b..d759b657bab40f89a6053be6809f5dc18d4f68d9 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -4929,7 +4929,7 @@ void HOptimizedGraphBuilder::VisitVariableProxy(VariableProxy* expr) { |
Handle<Object> constant_object = cell->type()->AsConstant(); |
if (constant_object->IsConsString()) { |
constant_object = |
- FlattenGetString(Handle<String>::cast(constant_object)); |
+ String::Flatten(Handle<String>::cast(constant_object)); |
} |
HConstant* constant = New<HConstant>(constant_object); |
return ast_context()->ReturnInstruction(constant, expr->id()); |