| Index: src/code-stubs-hydrogen.cc
|
| diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
|
| index 5b1ae39c7dd6727cf95574968674346c4a836f88..c2bd7e4cfef63f1e2a481ee1c4239c79eb7bc280 100644
|
| --- a/src/code-stubs-hydrogen.cc
|
| +++ b/src/code-stubs-hydrogen.cc
|
| @@ -1399,4 +1399,20 @@ Handle<Code> KeyedLoadDictionaryElementStub::GenerateCode(Isolate* isolate) {
|
| }
|
|
|
|
|
| +template<>
|
| +HValue* CodeStubGraphBuilder<RegExpConstructResultStub>::BuildCodeStub() {
|
| + // Determine the parameters.
|
| + HValue* length = GetParameter(RegExpConstructResultStub::kLength);
|
| + HValue* index = GetParameter(RegExpConstructResultStub::kIndex);
|
| + HValue* input = GetParameter(RegExpConstructResultStub::kInput);
|
| +
|
| + return BuildRegExpConstructResult(length, index, input);
|
| +}
|
| +
|
| +
|
| +Handle<Code> RegExpConstructResultStub::GenerateCode(Isolate* isolate) {
|
| + return DoGenerateCode(isolate, this);
|
| +}
|
| +
|
| +
|
| } } // namespace v8::internal
|
|
|