Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 9d31cd5230f1315663bb3e1f2d5d17bc6bcd4927..509d601723bb6e8c43a2b22df64559e00e7b1309 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -1585,9 +1585,9 @@ void FullCodeGenerator::VisitClassLiteral(ClassLiteral* lit) { |
__ Push(Smi::FromInt(lit->start_position())); |
__ Push(Smi::FromInt(lit->end_position())); |
- // TODO(arv): Process methods |
- |
__ CallRuntime(Runtime::kDefineClass, 6); |
+ EmitClassDefineProperties(lit); |
+ |
context()->Plug(result_register()); |
} |