Index: src/handles.cc |
=================================================================== |
--- src/handles.cc (revision 680) |
+++ src/handles.cc (working copy) |
@@ -217,8 +217,7 @@ |
Handle<String> SubString(Handle<String> str, int start, int end) { |
- StringShape shape(*str); |
- CALL_HEAP_FUNCTION(str->Slice(shape, start, end), String); |
+ CALL_HEAP_FUNCTION(str->Slice(StringShape(*str), start, end), String); |
} |