v8/test/mjsunit/runtime-gen/optimizeobjectforaddingmultipleproperties.js

7 lines
289 B
JavaScript

// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
var _object = new Object();
var _properties = 1;
%OptimizeObjectForAddingMultipleProperties(_object, _properties);