Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Side by Side Diff: src/wasm/wasm-opcodes.h

Issue 2595733003: [wasm] Remove non-standard kExprI8Const bytecode (Closed)
Patch Set: Remove regression test Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_WASM_OPCODES_H_ 5 #ifndef V8_WASM_OPCODES_H_
6 #define V8_WASM_OPCODES_H_ 6 #define V8_WASM_OPCODES_H_
7 7
8 #include "src/globals.h" 8 #include "src/globals.h"
9 #include "src/machine-type.h" 9 #include "src/machine-type.h"
10 #include "src/runtime/runtime.h" 10 #include "src/runtime/runtime.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 V(Drop, 0x1a, _) \ 71 V(Drop, 0x1a, _) \
72 V(Select, 0x1b, _) \ 72 V(Select, 0x1b, _) \
73 V(GetLocal, 0x20, _) \ 73 V(GetLocal, 0x20, _) \
74 V(SetLocal, 0x21, _) \ 74 V(SetLocal, 0x21, _) \
75 V(TeeLocal, 0x22, _) \ 75 V(TeeLocal, 0x22, _) \
76 V(GetGlobal, 0x23, _) \ 76 V(GetGlobal, 0x23, _) \
77 V(SetGlobal, 0x24, _) \ 77 V(SetGlobal, 0x24, _) \
78 V(I32Const, 0x41, _) \ 78 V(I32Const, 0x41, _) \
79 V(I64Const, 0x42, _) \ 79 V(I64Const, 0x42, _) \
80 V(F32Const, 0x43, _) \ 80 V(F32Const, 0x43, _) \
81 V(F64Const, 0x44, _) \ 81 V(F64Const, 0x44, _)
82 V(I8Const, 0xcb, _ /* TODO(titzer): V8 specific, remove */)
83 82
84 // Load memory expressions. 83 // Load memory expressions.
85 #define FOREACH_LOAD_MEM_OPCODE(V) \ 84 #define FOREACH_LOAD_MEM_OPCODE(V) \
86 V(I32LoadMem, 0x28, i_i) \ 85 V(I32LoadMem, 0x28, i_i) \
87 V(I64LoadMem, 0x29, l_i) \ 86 V(I64LoadMem, 0x29, l_i) \
88 V(F32LoadMem, 0x2a, f_i) \ 87 V(F32LoadMem, 0x2a, f_i) \
89 V(F64LoadMem, 0x2b, d_i) \ 88 V(F64LoadMem, 0x2b, d_i) \
90 V(I32LoadMem8S, 0x2c, i_i) \ 89 V(I32LoadMem8S, 0x2c, i_i) \
91 V(I32LoadMem8U, 0x2d, i_i) \ 90 V(I32LoadMem8U, 0x2d, i_i) \
92 V(I32LoadMem16S, 0x2e, i_i) \ 91 V(I32LoadMem16S, 0x2e, i_i) \
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 default: 677 default:
679 return "<unknown>"; 678 return "<unknown>";
680 } 679 }
681 } 680 }
682 }; 681 };
683 } // namespace wasm 682 } // namespace wasm
684 } // namespace internal 683 } // namespace internal
685 } // namespace v8 684 } // namespace v8
686 685
687 #endif // V8_WASM_OPCODES_H_ 686 #endif // V8_WASM_OPCODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698