diff options
Diffstat (limited to 'libraries/eval')
-rw-r--r-- | libraries/eval/Eval.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/eval/Eval.scala b/libraries/eval/Eval.scala index 9b205b3..e1da151 100644 --- a/libraries/eval/Eval.scala +++ b/libraries/eval/Eval.scala @@ -368,8 +368,10 @@ class Eval { if (Debug.enabled) Debug.printWithLineNumbers(processedCode) + // if you're looking for the performance hit, it's 1/2 this line... val compiler = new global.Run val sourceFiles = List(new BatchSourceFile("(inline)", processedCode)) + // ...and 1/2 this line: compiler.compileSources(sourceFiles) if (reporter.hasErrors || reporter.WARNING.count > 0) { |