| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index d1c9dcdbcb7680a25fc6f3815dc316d942acbfdf..2e875e1dbb939e836084fa146c9203163e8ba3c7 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -145,7 +145,7 @@ class AstGraphBuilderWithPositions : public AstGraphBuilder {
|
| }
|
|
|
| #define DEF_VISIT(type) \
|
| - virtual void Visit##type(type* node) OVERRIDE { \
|
| + virtual void Visit##type(type* node) OVERRIDE { \
|
| SourcePositionTable::Scope pos(source_positions_, \
|
| SourcePosition(node->position())); \
|
| AstGraphBuilder::Visit##type(node); \
|
| @@ -172,6 +172,8 @@ Handle<Code> Pipeline::GenerateCode() {
|
| info()->function()->dont_optimize_reason() == kForOfStatement ||
|
| // TODO(turbofan): Make super work and remove this bailout.
|
| info()->function()->dont_optimize_reason() == kSuperReference ||
|
| + // TODO(turbofan): Make ES6 classes work and remove this bailout.
|
| + info()->function()->dont_optimize_reason() == kClassLiteral ||
|
| // TODO(turbofan): Make OSR work and remove this bailout.
|
| info()->is_osr()) {
|
| return Handle<Code>::null();
|
|
|