Reapply r10690 ("Temporarily disable inlining of Math.floor called as a function")
authorjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Feb 2012 14:40:58 +0000 (14:40 +0000)
committerjkummerow@chromium.org <jkummerow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 14 Feb 2012 14:40:58 +0000 (14:40 +0000)
This reverts r10692.

Review URL: https://chromiumcodereview.appspot.com/9359035

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10702 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/hydrogen.cc

index 1965316b0f0b875c707c924b2e0bf1cc5678b584..a6b60b1f77a8fc439409096fbd88cd6c7b79006c 100644 (file)
@@ -5173,7 +5173,6 @@ bool HGraphBuilder::TryInlineBuiltinFunctionCall(Call* expr, bool drop_extra) {
   BuiltinFunctionId id = expr->target()->shared()->builtin_function_id();
   switch (id) {
     case kMathRound:
-    case kMathFloor:
     case kMathAbs:
     case kMathSqrt:
     case kMathLog: