| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index e1540477f5386d11e8d3e1533dc209f1d1656e17..8728a0559b3d25c9a44fd156949e68edb3d93d7f 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -4476,6 +4476,14 @@ RUNTIME_FUNCTION(Runtime_SubString) {
|
| }
|
|
|
|
|
| +RUNTIME_FUNCTION(Runtime_InternalizeString) {
|
| + HandleScope handles(isolate);
|
| + RUNTIME_ASSERT(args.length() == 1);
|
| + CONVERT_ARG_HANDLE_CHECKED(String, string, 0);
|
| + return *isolate->factory()->InternalizeString(string);
|
| +}
|
| +
|
| +
|
| RUNTIME_FUNCTION(Runtime_StringMatch) {
|
| HandleScope handles(isolate);
|
| ASSERT(args.length() == 3);
|
|
|