OLD | NEW |
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 Loading... |
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 |
OLD | NEW |