Index: src/deoptimizer.h |
diff --git a/src/deoptimizer.h b/src/deoptimizer.h |
index 81345ad2d1ab92a539698c7b612e22922b1490c9..033d92480bd8a113f0c4c39e1a3633ec6f56a6ca 100644 |
--- a/src/deoptimizer.h |
+++ b/src/deoptimizer.h |
@@ -497,9 +497,7 @@ class TranslationIterator BASE_EMBEDDED { |
int32_t Next(); |
- bool HasNext() const { return index_ >= 0; } |
- |
- void Done() { index_ = -1; } |
+ bool HasNext() const { return index_ < buffer_->length(); } |
void Skip(int n) { |
for (int i = 0; i < n; i++) Next(); |