Chromium Code Reviews| Index: lib/compiler/implementation/ssa/codegen.dart |
| diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart |
| index 09f624da902f16300122bbe88e5b5f642baab321..b2f5c7e3d089e48a09d57abc95b70851e8fadb12 100644 |
| --- a/lib/compiler/implementation/ssa/codegen.dart |
| +++ b/lib/compiler/implementation/ssa/codegen.dart |
| @@ -102,7 +102,7 @@ class SsaCodeGeneratorTask extends CompilerTask { |
| // and needs to know if the method is overridden. |
| nativeEmitter.overriddenMethods.add(element); |
| StringBuffer buffer = new StringBuffer(); |
| - String codeString = prettyPrint(codegen.body).toString(); |
| + String codeString = "${prettyPrint(codegen.body).toString()}"; |
|
floitsch
2012/10/25 08:42:40
why was this necessary?
erikcorry
2012/10/25 09:09:28
Whatever the reason was, it went away again.
|
| native.generateMethodWithPrototypeCheckForElement( |
| compiler, buffer, element, codeString, parametersString); |
| js.Node nativeCode = new js.LiteralStatement(buffer.toString()); |