| 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 e3fc9b6003f6c1f8b59f565fe1a5b74f9f2c4d2a..2b2326a764c621bca01e571a200c4997d95eda2d 100644
|
| --- a/test/mjsunit/compiler/stubs/floor-stub.js
|
| +++ b/test/mjsunit/compiler/stubs/floor-stub.js
|
| @@ -25,7 +25,9 @@
|
| // (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
|
| +// Flags: --allow-natives-syntax --noalways-opt
|
| +
|
| +var stubs = %GetCodeStubExportsObject();
|
|
|
| const kExtraTypeFeedbackMinusZeroSentinel = 1;
|
| const kFirstSlotExtraTypeFeedbackIndex = 5;
|
| @@ -36,7 +38,7 @@ const kFirstSlotExtraTypeFeedbackIndex = 5;
|
| }
|
| // Execute the function once to make sure it has a type feedback vector.
|
| floorFunc(5);
|
| - var stub = builtins.MathFloorStub("MathFloorStub", 0);
|
| + var stub = stubs.MathFloorStub("MathFloorStub", 0);
|
| assertTrue(kExtraTypeFeedbackMinusZeroSentinel !==
|
| %FixedArrayGet(%GetTypeFeedbackVector(floorFunc),
|
| kFirstSlotExtraTypeFeedbackIndex));
|
|
|