Index: src/IceAssembler.h |
diff --git a/src/IceAssembler.h b/src/IceAssembler.h |
index aff32087ab54e197cc6acc6aefaa3ba4813dd1f6..eda2f4b2fc384b323dc068b884ffcc8720ad3b21 100644 |
--- a/src/IceAssembler.h |
+++ b/src/IceAssembler.h |
@@ -293,6 +293,10 @@ public: |
return Buffer.load<T>(Position); |
} |
+ template <typename T> void store(intptr_t Position, T Value) { |
+ Buffer.store(Position, Value); |
+ } |
+ |
/// Emit a fixup at the current location. |
void emitFixup(AssemblerFixup *Fixup) { Buffer.emitFixup(Fixup); } |