Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 3b0d880624f4eb5927279730b89c89d179970fd8..4fdb79b1e3fa262fc17bb529229e1204390dc0d3 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -581,8 +581,8 @@ class CompilationInfo { |
// be checked using {last_status()} as well. |
class OptimizedCompileJob: public ZoneObject { |
public: |
- explicit OptimizedCompileJob(CompilationInfo* info) |
- : info_(info), last_status_(SUCCEEDED) {} |
+ explicit OptimizedCompileJob(CompilationInfo* info, const char* compiler_name) |
+ : info_(info), compiler_name_(compiler_name), last_status_(SUCCEEDED) {} |
virtual ~OptimizedCompileJob() {} |
enum Status { |
@@ -622,6 +622,7 @@ class OptimizedCompileJob: public ZoneObject { |
base::TimeDelta time_taken_to_create_graph_; |
base::TimeDelta time_taken_to_optimize_; |
base::TimeDelta time_taken_to_codegen_; |
+ const char* compiler_name_; |
Status last_status_; |
MUST_USE_RESULT Status SetLastStatus(Status status) { |