Index: test/mjsunit/es6/promises.js |
diff --git a/test/mjsunit/es6/promises.js b/test/mjsunit/es6/promises.js |
index 7813b11929e5e4936c863c601ae3759a532c026a..6e20d684ff8bde97d0190d9d791cae762365099f 100644 |
--- a/test/mjsunit/es6/promises.js |
+++ b/test/mjsunit/es6/promises.js |
@@ -34,6 +34,9 @@ var defineProperty = Object.defineProperty; |
var numberPrototype = Number.prototype; |
var symbolIterator = Symbol.iterator; |
+function assertUnreachable() { |
+ %AbortJS("Failure: unreachable"); |
+} |
(function() { |
// Test before clearing global (fails otherwise) |