diff options
Diffstat (limited to 'deps/v8/test/mjsunit/builtins.js')
-rw-r--r-- | deps/v8/test/mjsunit/builtins.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/builtins.js b/deps/v8/test/mjsunit/builtins.js index 5035e67309..62989399de 100644 --- a/deps/v8/test/mjsunit/builtins.js +++ b/deps/v8/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), |