Index: test/mjsunit/regexp-stack-overflow.js |
diff --git a/test/mjsunit/regexp-stack-overflow.js b/test/mjsunit/regexp-stack-overflow.js |
index b6232a87ca40f7d2e8ea8fa48f94185829bce1e3..637d205642d2032c9415f06e839d0788973a1ab3 100644 |
--- a/test/mjsunit/regexp-stack-overflow.js |
+++ b/test/mjsunit/regexp-stack-overflow.js |
@@ -5,7 +5,6 @@ |
// Flags: --stack-size=100 |
var result = null; |
-var type = true; |
var re = /\w/; |
re.test("a"); // Trigger regexp compile. |
@@ -13,10 +12,8 @@ function rec() { |
try { |
return rec(); |
} catch (e) { |
- if (!(e instanceof RangeError)) type = false; |
return re.test("b"); |
} |
} |
assertTrue(rec()); |
-assertTrue(type); |