summaryrefslogtreecommitdiff
path: root/src/binaryen-js.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-04-05 09:49:37 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-04-05 09:49:37 -0700
commit155223a2a0dd222817881dab85fa11166cc5bbb3 (patch)
tree7f10e15b941474c2b23c741e20ee2657c54026ca /src/binaryen-js.cpp
parentb243bf42bf89bee18ece60fb0607cf1fb70ce702 (diff)
parentea448f35ada45647c200019cc34b4315cb16cdd9 (diff)
downloadbinaryen-155223a2a0dd222817881dab85fa11166cc5bbb3.tar.gz
binaryen-155223a2a0dd222817881dab85fa11166cc5bbb3.tar.bz2
binaryen-155223a2a0dd222817881dab85fa11166cc5bbb3.zip
Merge pull request #312 from WebAssembly/webidl
WebIDL bindings
Diffstat (limited to 'src/binaryen-js.cpp')
-rw-r--r--src/binaryen-js.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/binaryen-js.cpp b/src/binaryen-js.cpp
new file mode 100644
index 000000000..d7d84706e
--- /dev/null
+++ b/src/binaryen-js.cpp
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2016 WebAssembly Community Group participants
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <memory>
+
+#include "pass.h"
+#include "shell-interface.h"
+#include "support/command-line.h"
+#include "support/file.h"
+#include "wasm-interpreter.h"
+#include "wasm-printing.h"
+#include "wasm-s-parser.h"
+#include "wasm-validator.h"
+
+using namespace wasm;
+
+#include "../glue.cpp"
+