Index: src/wasm/wasm-opcodes.h |
diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h |
index 9fb15495ede1bb51013e4c110f4f37b8903f2cb7..83c7be1c514b20100b08eb78632ffe3739b6a006 100644 |
--- a/src/wasm/wasm-opcodes.h |
+++ b/src/wasm/wasm-opcodes.h |
@@ -260,6 +260,28 @@ struct WasmName { |
V(F64Pow, 0xc9, d_dd) \ |
V(F64Mod, 0xca, d_dd) |
+// TODO(titzer): sketch of asm-js compatibility bytecodes |
+/* V(I32AsmjsDivS, 0xd0, i_ii) \ */ |
+/* V(I32AsmjsDivU, 0xd1, i_ii) \ */ |
+/* V(I32AsmjsRemS, 0xd2, i_ii) \ */ |
+/* V(I32AsmjsRemU, 0xd3, i_ii) \ */ |
+/* V(I32AsmjsLoad8S, 0xd4, i_i) \ */ |
+/* V(I32AsmjsLoad8U, 0xd5, i_i) \ */ |
+/* V(I32AsmjsLoad16S, 0xd6, i_i) \ */ |
+/* V(I32AsmjsLoad16U, 0xd7, i_i) \ */ |
+/* V(I32AsmjsLoad, 0xd8, i_i) \ */ |
+/* V(F32AsmjsLoad, 0xd9, f_i) \ */ |
+/* V(F64AsmjsLoad, 0xda, d_i) \ */ |
+/* V(I32AsmjsStore8, 0xdb, i_i) \ */ |
+/* V(I32AsmjsStore16, 0xdc, i_i) \ */ |
+/* V(I32AsmjsStore, 0xdd, i_ii) \ */ |
+/* V(F32AsmjsStore, 0xde, i_if) \ */ |
+/* V(F64AsmjsStore, 0xdf, i_id) \ */ |
+/* V(I32SAsmjsConvertF32, 0xe0, i_f) \ */ |
+/* V(I32UAsmjsConvertF32, 0xe1, i_f) \ */ |
+/* V(I32SAsmjsConvertF64, 0xe2, i_d) \ */ |
+/* V(I32SAsmjsConvertF64, 0xe3, i_d) */ |
+ |
// All opcodes. |
#define FOREACH_OPCODE(V) \ |
FOREACH_CONTROL_OPCODE(V) \ |