Index: src/lithium-codegen.cc |
diff --git a/src/lithium-codegen.cc b/src/lithium-codegen.cc |
index 90efa5340864a9be43533d226552b9e67088012d..86401167aca7a953c21a3f7c8d6d4d9187e19256 100644 |
--- a/src/lithium-codegen.cc |
+++ b/src/lithium-codegen.cc |
@@ -147,6 +147,12 @@ void LCodeGenBase::Comment(const char* format, ...) { |
} |
+void LCodeGenBase::DeoptComment(const char* mnemonic, const char* reason) { |
+ Comment(";;; deoptimize %s: %s", mnemonic, |
+ reason == NULL ? "unknown reason" : reason); |
+} |
+ |
+ |
int LCodeGenBase::GetNextEmittedBlock() const { |
for (int i = current_block_ + 1; i < graph()->blocks()->length(); ++i) { |
if (!graph()->blocks()->at(i)->IsReachable()) continue; |