Index: test/mjsunit/compiler/stubs/floor-stub.js |
diff --git a/test/mjsunit/compiler/stubs/floor-stub.js b/test/mjsunit/compiler/stubs/floor-stub.js |
index 08cbef72af1e769dc93109af8ab377a37a62ac2d..0a76d307baef866b554b2ff437348d4bf3f2df32 100644 |
--- a/test/mjsunit/compiler/stubs/floor-stub.js |
+++ b/test/mjsunit/compiler/stubs/floor-stub.js |
@@ -25,14 +25,16 @@ |
// (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: --allow-natives-syntax --expose-natives-as=builtins --noalways-opt --turbo-filter=* |
+// Flags: --allow-natives-syntax --noalways-opt --turbo-filter=* |
+ |
+var stubs = %GetCodeStubExportsObject(); |
const kExtraTypeFeedbackMinusZeroSentinel = 1; |
const kFirstJSFunctionTypeFeedbackIndex = 5; |
const kFirstSlotExtraTypeFeedbackIndex = 5; |
(function() { |
- var stub1 = builtins.MathFloorStub("MathFloorStub", 1); |
+ var stub1 = stubs.MathFloorStub("MathFloorStub", 1); |
var tempForTypeVector = function(d) { |
return Math.round(d); |
} |