Chromium Code Reviews| Index: src/wasm/wasm-opcodes.h |
| diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h |
| index b75e70c0dc26db7dd9a991265f649620c02d2e36..184e32617bcf159558d7216059f7e9b040d50519 100644 |
| --- a/src/wasm/wasm-opcodes.h |
| +++ b/src/wasm/wasm-opcodes.h |
| @@ -52,6 +52,8 @@ std::ostream& operator<<(std::ostream& os, const FunctionSig& function); |
| struct WasmName { |
| const char* name; |
| uint32_t length; |
| + // TODO(clemensh): Remove whole WasmName, replace by Vector<const char> |
|
titzer
2016/04/22 11:46:30
This should be inline, to prevent a proliferation
Clemens Hammacher
2016/04/22 13:47:54
I will remove the whole WasmName in https://codere
|
| + Vector<const char> toVec() const { return Vector<const char>(name, length); } |
| }; |
| // TODO(titzer): Renumber all the opcodes to fill in holes. |