Index: test/mjsunit/regress/regress-436896.js |
diff --git a/test/mjsunit/regress/regress-436896.js b/test/mjsunit/regress/regress-436896.js |
index 344a7a3049305a655b74f0ca56ea5ecba3bbf58c..0ea70523fe3523d650fafb5206971ebb2fdc7f65 100644 |
--- a/test/mjsunit/regress/regress-436896.js |
+++ b/test/mjsunit/regress/regress-436896.js |
@@ -14,4 +14,4 @@ function g(x) { |
} |
%OptimizeFunctionOnNextCall(g); |
-assertThrows(function() { g(42); }, TypeError); |
+assertThrows(function() { g(42); }, SyntaxError); |