Skip to content

Commit

Permalink
Add missing comma in metadata JSON (#1983)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlively authored Apr 5, 2019
1 parent fc13d0f commit 5b24f03
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/wasm/wasm-emscripten.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ std::string EmscriptenGlueGenerator::generateEmscriptenMetadata(
}
}
});
meta << "\n ]\n";
meta << "\n ],\n";

meta << " \"features\": [";
commaFirst = true;
Expand Down
2 changes: 1 addition & 1 deletion test/lld/duplicate_imports.wast.out
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
},
"invokeFuncs": [
"invoke_ffd"
]
],
"features": [
"--mvp-features",
"--enable-threads",
Expand Down
2 changes: 1 addition & 1 deletion test/lld/em_asm.wast.mem.out
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
"__data_end" : "652"
},
"invokeFuncs": [
]
],
"features": [
"--mvp-features",
"--enable-threads",
Expand Down
2 changes: 1 addition & 1 deletion test/lld/em_asm.wast.out
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
"__data_end" : "652"
},
"invokeFuncs": [
]
],
"features": [
"--mvp-features",
"--enable-threads",
Expand Down
2 changes: 1 addition & 1 deletion test/lld/em_asm_O0.wast.out
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"__data_end" : "652"
},
"invokeFuncs": [
]
],
"features": [
"--mvp-features",
"--enable-threads",
Expand Down
2 changes: 1 addition & 1 deletion test/lld/em_asm_table.wast.out
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"__data_end" : "1048"
},
"invokeFuncs": [
]
],
"features": [
"--mvp-features",
"--enable-threads",
Expand Down
2 changes: 1 addition & 1 deletion test/lld/em_js_O0.wast.out
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"__data_end" : "7232"
},
"invokeFuncs": [
]
],
"features": [
"--mvp-features",
"--enable-threads",
Expand Down
2 changes: 1 addition & 1 deletion test/lld/hello_world.wast.mem.out
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"__data_end" : "581"
},
"invokeFuncs": [
]
],
"features": [
"--mvp-features",
"--enable-threads",
Expand Down
2 changes: 1 addition & 1 deletion test/lld/hello_world.wast.out
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"__data_end" : "581"
},
"invokeFuncs": [
]
],
"features": [
"--mvp-features",
"--enable-threads",
Expand Down
2 changes: 1 addition & 1 deletion test/lld/init.wast.out
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"__data_end" : "576"
},
"invokeFuncs": [
]
],
"features": [
"--mvp-features",
"--enable-threads",
Expand Down
2 changes: 1 addition & 1 deletion test/lld/recursive.wast.out
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
"__data_end" : "587"
},
"invokeFuncs": [
]
],
"features": [
"--mvp-features",
"--enable-threads",
Expand Down
2 changes: 1 addition & 1 deletion test/lld/reserved_func_ptr.wast.out
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
"__data_end" : "568"
},
"invokeFuncs": [
]
],
"features": [
"--mvp-features",
"--enable-threads",
Expand Down
2 changes: 1 addition & 1 deletion test/lld/shared.wast.out
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"namedGlobals": {
},
"invokeFuncs": [
]
],
"features": [
"--mvp-features",
"--enable-threads",
Expand Down

0 comments on commit 5b24f03

Please sign in to comment.