Upgrade to V8 3.4
Merge 3.4.14.35
Simple merge required updates to makefiles only.
Bug: 568872
Change-Id: I403a38452c547e06fcfa951c12eca12a1bc40978
diff --git a/test/mjsunit/strict-mode-eval.js b/test/mjsunit/strict-mode-eval.js
index 018ed9e..391daaa 100644
--- a/test/mjsunit/strict-mode-eval.js
+++ b/test/mjsunit/strict-mode-eval.js
@@ -42,36 +42,44 @@
eval_alias(code4);
function strict1() {
+ var exception = false;
try {
eval(code1);
- assertUnreachable("did not throw exception");
} catch (e) {
+ exception = true;
assertInstanceof(e, SyntaxError);
}
+ assertTrue(exception);
function strict2() {
+ var exception = false;
try {
eval(code2);
- assertUnreachable("did not throw exception");
} catch (e) {
+ exception = true;
assertInstanceof(e, SyntaxError);
}
+ assertTrue(exception);
function strict3() {
+ var exception = false;
try {
eval(code3);
- assertUnreachable("did not throw exception");
} catch (e) {
+ exception = true;
assertInstanceof(e, SyntaxError);
}
+ assertTrue(exception);
function strict4() {
+ var exception = false;
try {
eval(code4);
- assertUnreachable("did not throw exception");
} catch (e) {
+ exception = true;
assertInstanceof(e, SyntaxError);
}
+ assertTrue(exception);
}
strict4();
}