Index: src/handles.cc |
=================================================================== |
--- src/handles.cc (revision 1138) |
+++ src/handles.cc (working copy) |
@@ -120,7 +120,7 @@ |
void FlattenString(Handle<String> string) { |
StringShape shape(*string); |
if (string->IsFlat(shape)) return; |
- CALL_HEAP_FUNCTION_VOID(string->Flatten(shape)); |
+ CALL_HEAP_FUNCTION_VOID(string->TryFlatten(shape)); |
ASSERT(string->IsFlat(StringShape(*string))); |
} |