| Index: src/IceAssembler.h
|
| diff --git a/src/IceAssembler.h b/src/IceAssembler.h
|
| index 5e7815d321718308611d1f995edb7d45b41f0099..70f7f41acf5a5cf5bb087f106aef86a3f6e75310 100644
|
| --- a/src/IceAssembler.h
|
| +++ b/src/IceAssembler.h
|
| @@ -303,7 +303,7 @@ public:
|
|
|
| bool needsTextFixup() const { return Buffer.needsTextFixup(); }
|
|
|
| - void emitIASBytes() const;
|
| + void emitIASBytes(GlobalContext *Ctx) const;
|
| bool getInternal() const { return IsInternal; }
|
| void setInternal(bool Internal) { IsInternal = Internal; }
|
| const IceString &getFunctionName() { return FunctionName; }
|
| @@ -317,8 +317,8 @@ public:
|
| AssemblerKind getKind() const { return Kind; }
|
|
|
| protected:
|
| - explicit Assembler(AssemblerKind Kind, GlobalContext *Ctx)
|
| - : Kind(Kind), Allocator(), Ctx(Ctx), Buffer(*this) {}
|
| + explicit Assembler(AssemblerKind Kind)
|
| + : Kind(Kind), Allocator(), Buffer(*this) {}
|
|
|
| private:
|
| const AssemblerKind Kind;
|
| @@ -339,7 +339,6 @@ private:
|
| void installFixup(AssemblerFixup *F) { Buffer.installFixup(F); }
|
|
|
| protected:
|
| - GlobalContext *Ctx;
|
| // Buffer's constructor uses the Allocator, so it needs to appear after it.
|
| // TODO(jpp): dependencies on construction order are a nice way of shooting
|
| // yourself in the foot. Fix this.
|
|
|