| Index: src/isolate.cc
 | 
| diff --git a/src/isolate.cc b/src/isolate.cc
 | 
| index 50b402b04be0a2e10e40b7fcbfa39e668f5e8029..fed4b4a4138135a55d7d18ff442f6e259c187332 100644
 | 
| --- a/src/isolate.cc
 | 
| +++ b/src/isolate.cc
 | 
| @@ -951,6 +951,12 @@ Failure* Isolate::ThrowIllegalOperation() {
 | 
|  }
 | 
|  
 | 
|  
 | 
| +Failure* Isolate::ThrowInvalidStringLength() {
 | 
| +  return Throw(*factory()->NewRangeError(
 | 
| +      "invalid_string_length", HandleVector<Object>(NULL, 0)));
 | 
| +}
 | 
| +
 | 
| +
 | 
|  void Isolate::ScheduleThrow(Object* exception) {
 | 
|    // When scheduling a throw we first throw the exception to get the
 | 
|    // error reporting if it is uncaught before rescheduling it.
 | 
| 
 |