diff options
Diffstat (limited to 'lld/wasm/InputElement.h')
-rw-r--r-- | lld/wasm/InputElement.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/wasm/InputElement.h b/lld/wasm/InputElement.h index 10dc2a3..c2a24c8 100644 --- a/lld/wasm/InputElement.h +++ b/lld/wasm/InputElement.h @@ -24,7 +24,7 @@ namespace wasm { class InputElement { protected: InputElement(StringRef name, ObjFile *f) - : file(f), live(!config->gcSections), name(name) {} + : file(f), live(!ctx.arg.gcSections), name(name) {} public: StringRef getName() const { return name; } @@ -65,7 +65,7 @@ public: const WasmInitExpr &getInitExpr() const { return initExpr; } void setPointerValue(uint64_t value) { - initExpr = intConst(value, config->is64.value_or(false)); + initExpr = intConst(value, ctx.arg.is64.value_or(false)); } private: |