summaryrefslogtreecommitdiff
path: root/src/shell-interface.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-06-18 18:27:03 +0100
committerGitHub <noreply@github.com>2016-06-18 18:27:03 +0100
commitb06555e330e48a42918492086cbf4b24353ed62d (patch)
treecbf6b14611a501d0775c62aa5791ccf071a7fc2c /src/shell-interface.h
parentec931e717a07dc21f22ac543ab0fe5af78879cc8 (diff)
parentd6bda73f13fe17434f3bd78b58da6961d297361a (diff)
downloadbinaryen-b06555e330e48a42918492086cbf4b24353ed62d.tar.gz
binaryen-b06555e330e48a42918492086cbf4b24353ed62d.tar.bz2
binaryen-b06555e330e48a42918492086cbf4b24353ed62d.zip
Merge pull request #590 from WebAssembly/precompute
Precompute expressions at compile time when possible
Diffstat (limited to 'src/shell-interface.h')
-rw-r--r--src/shell-interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell-interface.h b/src/shell-interface.h
index b87460a48..62fc2432a 100644
--- a/src/shell-interface.h
+++ b/src/shell-interface.h
@@ -98,7 +98,7 @@ struct ShellExternalInterface : ModuleInstance::ExternalInterface {
}
}
- Literal callImport(Import *import, ModuleInstance::LiteralList& arguments) override {
+ Literal callImport(Import *import, LiteralList& arguments) override {
if (import->module == SPECTEST && import->base == PRINT) {
for (auto argument : arguments) {
std::cout << argument << '\n';