Index: src/js/code-stubs.js |
diff --git a/src/js/code-stubs.js b/src/js/code-stubs.js |
index ab06f6c63b1fb640755f2970121fc13c15262379..7cb10d726a759b34827b65938e1c982d96a20d13 100644 |
--- a/src/js/code-stubs.js |
+++ b/src/js/code-stubs.js |
@@ -35,7 +35,7 @@ code_stubs.MathFloorStub = function MathFloorStub(call_conv, minor_key) { |
// |tv| is the calling function's type vector |
// |v| is the value to floor |
if (f !== %_FixedArrayGet(tv, i|0)) { |
- return %_CallFunction(receiver, v, f); |
+ return %_Call(f, receiver, v); |
} |
var r = %_MathFloor(+v); |
if (%_IsMinusZero(r)) { |