Chromium Code Reviews| Index: runtime/vm/regexp.cc |
| diff --git a/runtime/vm/regexp.cc b/runtime/vm/regexp.cc |
| index 93e4997fc548edce12b6b28d04f6966f5a215281..085d28d049fffbad3a92a330e239c38dc5fb3af0 100644 |
| --- a/runtime/vm/regexp.cc |
| +++ b/runtime/vm/regexp.cc |
| @@ -5102,7 +5102,12 @@ static void CreateSpecializedFunction(Isolate* isolate, |
| const intptr_t kParamCount = RegExpMacroAssembler::kParamCount; |
| Function& fn = Function::Handle(isolate, Function::New( |
| - Symbols::IrregExp(), |
| + // Append the regexp pattern to the function name. |
| + String::ZoneHandle(isolate, String::Concat( |
| + String::ZoneHandle(isolate, String::Concat( |
|
Florian Schneider
2015/01/13 13:06:28
Why use a ZoneHandle here?
zerny-google
2015/01/13 13:24:51
Replaced with just String::Handle
|
| + Symbols::Irregexp(), |
| + Symbols::ColonSpace(), Heap::kOld)), |
| + String::Handle(regexp.pattern()), Heap::kOld)), |
| RawFunction::kIrregexpFunction, |
| true, // Static. |
| false, // Not const. |