Index: src/interpreter/interpreter.h |
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h |
index bbd01029994d678b5f727d2dbba83ca90ab9c4cf..5ff294b7c9c00d891e6aa62f45d878ebda8926e3 100644 |
--- a/src/interpreter/interpreter.h |
+++ b/src/interpreter/interpreter.h |
@@ -22,6 +22,7 @@ namespace internal { |
class Isolate; |
class Callable; |
class CompilationInfo; |
+class CompilationJob; |
namespace compiler { |
class Node; |
@@ -42,8 +43,8 @@ class Interpreter { |
// Returns the interrupt budget which should be used for the profiler counter. |
static int InterruptBudget(); |
- // Generate bytecode for |info|. |
- static bool MakeBytecode(CompilationInfo* info); |
+ // Creates a compilation job which will generating bytecode for |info|. |
Michael Starzinger
2016/08/25 08:10:56
nit: s/generating/generate/
rmcilroy
2016/08/25 09:49:05
Done.
|
+ static CompilationJob* NewCompilationJob(CompilationInfo* info); |
// Return bytecode handler for |bytecode|. |
Code* GetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale); |