Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 627dec94790809db19d4472d1da3061265589494..183bdde737c58697d5ecf4aa2950fc539ed18a79 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -7378,14 +7378,6 @@ void HOptimizedGraphBuilder::VisitCallRuntime(CallRuntime* expr) { |
const Runtime::Function* function = expr->function(); |
ASSERT(function != NULL); |
- |
- if (static_cast<int>(function->function_id) |
- == static_cast<int>(Runtime::kNeverOptimize) |
- && expr->arguments()->length() == 0) { |
- // %NeverOptimize() without arguments marks the caller as never optimize. |
- return Bailout("function marked itself as never optimize"); |
- } |
- |
if (function->intrinsic_type == Runtime::INLINE) { |
ASSERT(expr->name()->length() > 0); |
ASSERT(expr->name()->Get(0) == '_'); |