Index: src/IceAssembler.h |
diff --git a/src/IceAssembler.h b/src/IceAssembler.h |
index d3111adcbe5e19a6fca055c150a78a85726b1613..5c8091d86b10b09b181bd0a24fb83a22f06a0185 100644 |
--- a/src/IceAssembler.h |
+++ b/src/IceAssembler.h |
@@ -184,6 +184,7 @@ public: |
/// Mark that an attempt was made to emit, but failed. Hence, in order to |
/// continue, one must emit a text fixup. |
void setNeedsTextFixup() { TextFixupNeeded = true; } |
+ void resetNeedsTextFixup() { TextFixupNeeded = false; } |
/// Returns true if last emit failed and needs a text fixup. |
bool needsTextFixup() const { return TextFixupNeeded; } |
@@ -310,6 +311,7 @@ public: |
} |
void setNeedsTextFixup() { Buffer.setNeedsTextFixup(); } |
+ void resetNeedsTextFixup() { Buffer.resetNeedsTextFixup(); } |
bool needsTextFixup() const { return Buffer.needsTextFixup(); } |