Index: test/mjsunit/builtins.js |
diff --git a/test/mjsunit/builtins.js b/test/mjsunit/builtins.js |
index 5035e67309be8c762f8c47e3139e8ab942029f73..62989399de4b970f35e0b215333f4173e50f10dc 100644 |
--- a/test/mjsunit/builtins.js |
+++ b/test/mjsunit/builtins.js |
@@ -25,7 +25,12 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --expose-natives-as=builtins |
+// Flags: --allow-natives-syntax --expose-natives-as=builtins |
+ |
+// Verify that the builtin typed arrays have been pretenured. |
+assertFalse(%InNewSpace(builtins.kMath)); |
+assertFalse(%InNewSpace(builtins.rempio2result)); |
+assertFalse(%InNewSpace(builtins.rngstate)); |
// Checks that all function properties of the builtin object that are actually |
// constructors (recognized by having properties on their .prototype object), |