summaryrefslogtreecommitdiff
path: root/src/s2wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r--src/s2wasm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 48d6d9350..4e3ec23e5 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -752,8 +752,8 @@ private:
bstack.back()->list.push_back(curr);
bstack.push_back(curr);
seenLabels.insert(curr->name);
- } else if (match("BB")) {
- s -= 2;
+ } else if (match(".LBB")) {
+ s -= 4;
lastLabel = getStrToColon();
s++;
skipWhitespace();
@@ -825,7 +825,7 @@ private:
makeHost(MemorySize);
} else if (match("grow_memory")) {
makeHost1(GrowMemory);
- } else if (match("func_end")) {
+ } else if (match(".Lfunc_end")) {
s = strchr(s, '\n');
s++;
s = strchr(s, '\n');