aboutsummaryrefslogtreecommitdiff
path: root/lld/wasm/InputElement.h
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2025-01-09 18:49:54 +0900
committerNAKAMURA Takumi <geek4civic@gmail.com>2025-01-09 18:49:54 +0900
commite2810c9a248f4c7fbfae84bb32b6f7e01027458b (patch)
treeae0b02a8491b969a1cee94ea16ffe42c559143c5 /lld/wasm/InputElement.h
parentfa04eb4af95c1ca7377279728cb004bcd2324d01 (diff)
parentbdcf47e4bcb92889665825654bb80a8bbe30379e (diff)
downloadllvm-users/chapuni/cov/single/switch.zip
llvm-users/chapuni/cov/single/switch.tar.gz
llvm-users/chapuni/cov/single/switch.tar.bz2
Merge branch 'users/chapuni/cov/single/base' into users/chapuni/cov/single/switchusers/chapuni/cov/single/switch
Diffstat (limited to 'lld/wasm/InputElement.h')
-rw-r--r--lld/wasm/InputElement.h4
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: