Commit 103d7c79 authored by vitalyr@chromium.org's avatar vitalyr@chromium.org

Fix local handle leak in RegExpStringModificationTest.

Review URL: http://codereview.chromium.org/3133027

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5308 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 86dcc009
...@@ -9203,6 +9203,7 @@ class RegExpStringModificationTest { ...@@ -9203,6 +9203,7 @@ class RegExpStringModificationTest {
morphs_ < kMaxModifications) { morphs_ < kMaxModifications) {
int morphs_before = morphs_; int morphs_before = morphs_;
{ {
v8::HandleScope scope;
// Match 15-30 "a"'s against 14 and a "b". // Match 15-30 "a"'s against 14 and a "b".
const char* c_source = const char* c_source =
"/a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaa/" "/a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaa/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment