Index: src/compiler-dispatcher/compiler-dispatcher-job.h |
diff --git a/src/compiler-dispatcher/compiler-dispatcher-job.h b/src/compiler-dispatcher/compiler-dispatcher-job.h |
index 94b2d784a8aa8dab2ae3b9a2a0f2e5cbba6629aa..1e26f1afe5842233f98b766b07cf6b8ec90b885e 100644 |
--- a/src/compiler-dispatcher/compiler-dispatcher-job.h |
+++ b/src/compiler-dispatcher/compiler-dispatcher-job.h |
@@ -60,6 +60,8 @@ class V8_EXPORT_PRIVATE CompilerDispatcherJob { |
CompileJobStatus status() const { return status_; } |
+ Context* context() { return *context_; } |
+ |
// Returns true if this CompilerDispatcherJob was created for the given |
// function. |
bool IsAssociatedWith(Handle<SharedFunctionInfo> shared) const; |
@@ -105,6 +107,7 @@ class V8_EXPORT_PRIVATE CompilerDispatcherJob { |
CompileJobStatus status_; |
Isolate* isolate_; |
CompilerDispatcherTracer* tracer_; |
+ Handle<Context> context_; // Global handle. |
Handle<SharedFunctionInfo> shared_; // Global handle. |
Handle<String> source_; // Global handle. |
Handle<String> wrapper_; // Global handle. |