summaryrefslogtreecommitdiffhomepage
path: root/asm/segment.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/segment.h')
-rw-r--r--asm/segment.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/asm/segment.h b/asm/segment.h
index dfacd12..97e1670 100644
--- a/asm/segment.h
+++ b/asm/segment.h
@@ -11,6 +11,7 @@ class Segment: public std::vector<std::shared_ptr<Chunk>>
{
public:
size_t getAddressOfLabel(const std::string& label);
+ size_t getAddressOfIndex(size_t index);
std::vector<uint8_t> getCode();
void insertAddresses();
void optimize();