diff options
Diffstat (limited to 'lld/wasm/InputChunks.h')
| -rw-r--r-- | lld/wasm/InputChunks.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lld/wasm/InputChunks.h b/lld/wasm/InputChunks.h index 9f9a12aba54..1a1eae0c38c 100644 --- a/lld/wasm/InputChunks.h +++ b/lld/wasm/InputChunks.h @@ -100,17 +100,11 @@ public: // segment. uint32_t translateVA(uint32_t Offset) const; - const OutputSegment *getOutputSegment() const { return OutputSeg; } - - void setOutputSegment(const OutputSegment *Segment, uint32_t Offset) { - OutputSeg = Segment; - OutputSegmentOffset = Offset; - } - uint32_t getAlignment() const { return Segment.Data.Alignment; } StringRef getName() const override { return Segment.Data.Name; } StringRef getComdat() const override { return Segment.Data.Comdat; } + const OutputSegment *OutputSeg = nullptr; int32_t OutputSegmentOffset = 0; protected: @@ -120,7 +114,6 @@ protected: } const WasmSegment &Segment; - const OutputSegment *OutputSeg = nullptr; }; // Represents a single wasm function within and input file. These are |

