summaryrefslogtreecommitdiff
path: root/test/ObjectYAML/wasm/elem_section.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/ObjectYAML/wasm/elem_section.yaml')
-rw-r--r--test/ObjectYAML/wasm/elem_section.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ObjectYAML/wasm/elem_section.yaml b/test/ObjectYAML/wasm/elem_section.yaml
index 498c9aa93ea2a..c55e94ce2d079 100644
--- a/test/ObjectYAML/wasm/elem_section.yaml
+++ b/test/ObjectYAML/wasm/elem_section.yaml
@@ -18,8 +18,8 @@ Sections:
Functions:
- 1
- Offset:
- Opcode: I32_CONST
- Value: 5
+ Opcode: GET_GLOBAL
+ Index: 1
Functions:
- 4
...
@@ -34,7 +34,7 @@ Sections:
# CHECK: Value: 3
# CHECK: Functions: [ 1 ]
# CHECK: - Offset:
-# CHECK: Opcode: I32_CONST
-# CHECK: Value: 5
+# CHECK: Opcode: GET_GLOBAL
+# CHECK: Index: 1
# CHECK: Functions: [ 4 ]
# CHECK: ...