summaryrefslogtreecommitdiffstats
path: root/llvm/test/ObjectYAML/wasm
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-04-25 17:11:56 +0000
committerSam Clegg <sbc@chromium.org>2017-04-25 17:11:56 +0000
commit7fb391fea3af9d4f0f970e2bf4b16cead76dc3b0 (patch)
tree5bb70bfc7fa06cd0c4a1da7073dd6eecf93e5fff /llvm/test/ObjectYAML/wasm
parent0b650d35698d7a80352f3f4a67289b8b47df4726 (diff)
downloadbcm5719-llvm-7fb391fea3af9d4f0f970e2bf4b16cead76dc3b0.tar.gz
bcm5719-llvm-7fb391fea3af9d4f0f970e2bf4b16cead76dc3b0.zip
[WebAssembly] Read global index in init expression as LEB
Subscribers: jfb, dschuff Differential Revision: https://reviews.llvm.org/D32462 llvm-svn: 301330
Diffstat (limited to 'llvm/test/ObjectYAML/wasm')
-rw-r--r--llvm/test/ObjectYAML/wasm/elem_section.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/ObjectYAML/wasm/elem_section.yaml b/llvm/test/ObjectYAML/wasm/elem_section.yaml
index 498c9aa93ea..c55e94ce2d0 100644
--- a/llvm/test/ObjectYAML/wasm/elem_section.yaml
+++ b/llvm/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: ...
OpenPOWER on IntegriCloud