Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index b8507d5eec18885cc87955a9845ea5ddf6d438f3..f4027769fcd40e304585d7d62c324ec984a69c54 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -1900,13 +1900,6 @@ void AstGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) { |
} |
} |
- // Transform literals that contain functions to fast properties. |
- literal = environment()->Top(); // Reload from operand stack. |
- if (expr->has_function()) { |
- const Operator* op = javascript()->CallRuntime(Runtime::kToFastProperties); |
- NewNode(op, literal); |
- } |
- |
ast_context()->ProduceValue(environment()->Pop()); |
} |