| 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..eefdd4d39cb7234df4b87608dd3523da144b6e50 100644
|
| --- a/test/mjsunit/compiler/stubs/floor-stub.js
|
| +++ b/test/mjsunit/compiler/stubs/floor-stub.js
|
| @@ -38,17 +38,17 @@ const kFirstSlotExtraTypeFeedbackIndex = 5;
|
| floorFunc(5);
|
| var stub = builtins.MathFloorStub("MathFloorStub", 0);
|
| assertTrue(kExtraTypeFeedbackMinusZeroSentinel !==
|
| - %FixedArrayGet(%GetTypeFeedbackVector(floorFunc),
|
| - kFirstSlotExtraTypeFeedbackIndex));
|
| + %FeedbackVectorGet(%GetTypeFeedbackVector(floorFunc),
|
| + kFirstSlotExtraTypeFeedbackIndex));
|
| assertEquals(5.0, stub(floorFunc, 4, 5.5));
|
| assertTrue(kExtraTypeFeedbackMinusZeroSentinel !==
|
| - %FixedArrayGet(%GetTypeFeedbackVector(floorFunc),
|
| - kFirstSlotExtraTypeFeedbackIndex));
|
| + %FeedbackVectorGet(%GetTypeFeedbackVector(floorFunc),
|
| + kFirstSlotExtraTypeFeedbackIndex));
|
| // Executing floor such that it returns -0 should set the proper sentinel in
|
| // the feedback vector.
|
| assertEquals(-Infinity, 1/stub(floorFunc, 4, -0));
|
| assertEquals(kExtraTypeFeedbackMinusZeroSentinel,
|
| - %FixedArrayGet(%GetTypeFeedbackVector(floorFunc),
|
| - kFirstSlotExtraTypeFeedbackIndex));
|
| + %FeedbackVectorGet(%GetTypeFeedbackVector(floorFunc),
|
| + kFirstSlotExtraTypeFeedbackIndex));
|
| %ClearFunctionTypeFeedback(floorFunc);
|
| })();
|
|
|