| Index: src/IceAssembler.h
|
| diff --git a/src/IceAssembler.h b/src/IceAssembler.h
|
| index d80e3d26e9b4f4f1b8d2a09e06e4539efb7993b7..d2e9578ffe2d2a613fff1b76e907f282d15a2263 100644
|
| --- a/src/IceAssembler.h
|
| +++ b/src/IceAssembler.h
|
| @@ -32,6 +32,8 @@
|
|
|
| namespace Ice {
|
|
|
| +class Assembler;
|
| +
|
| /// A Label can be in one of three states:
|
| /// - Unused.
|
| /// - Linked, unplaced and tracking the position of branches to the label.
|
| @@ -82,11 +84,7 @@ public:
|
| assert(isBound());
|
| }
|
|
|
| - void linkTo(intptr_t position) {
|
| - assert(!isBound());
|
| - Position = position + kWordSize;
|
| - assert(isLinked());
|
| - }
|
| + void linkTo(const Assembler &Asm, intptr_t position);
|
|
|
| protected:
|
| intptr_t Position = 0;
|
|
|