Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: src/code-stubs-hydrogen.cc

Issue 281953002: Fix performance regression in regular expressions after Array.push() optimizations (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/regexp.js » ('j') | src/regexp.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "v8.h" 5 #include "v8.h"
6 6
7 #include "code-stubs.h" 7 #include "code-stubs.h"
8 #include "hydrogen.h" 8 #include "hydrogen.h"
9 #include "lithium.h" 9 #include "lithium.h"
10 10
(...skipping 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1476 } 1476 }
1477 1477
1478 1478
1479 template<> 1479 template<>
1480 HValue* CodeStubGraphBuilder<RegExpConstructResultStub>::BuildCodeStub() { 1480 HValue* CodeStubGraphBuilder<RegExpConstructResultStub>::BuildCodeStub() {
1481 // Determine the parameters. 1481 // Determine the parameters.
1482 HValue* length = GetParameter(RegExpConstructResultStub::kLength); 1482 HValue* length = GetParameter(RegExpConstructResultStub::kLength);
1483 HValue* index = GetParameter(RegExpConstructResultStub::kIndex); 1483 HValue* index = GetParameter(RegExpConstructResultStub::kIndex);
1484 HValue* input = GetParameter(RegExpConstructResultStub::kInput); 1484 HValue* input = GetParameter(RegExpConstructResultStub::kInput);
1485 1485
1486 info()->MarkMustNotHaveEagerFrame();
1487
1486 return BuildRegExpConstructResult(length, index, input); 1488 return BuildRegExpConstructResult(length, index, input);
1487 } 1489 }
1488 1490
1489 1491
1490 Handle<Code> RegExpConstructResultStub::GenerateCode() { 1492 Handle<Code> RegExpConstructResultStub::GenerateCode() {
1491 return DoGenerateCode(this); 1493 return DoGenerateCode(this);
1492 } 1494 }
1493 1495
1494 1496
1495 } } // namespace v8::internal 1497 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/regexp.js » ('j') | src/regexp.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698