Chromium Code Reviews| Index: src/wasm/wasm-module.h |
| diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
| index 1da17ba91d51837344b4b8e8e27a70606913abda..474cb42985da8cf1aad082e6272eda62b7f85ce4 100644 |
| --- a/src/wasm/wasm-module.h |
| +++ b/src/wasm/wasm-module.h |
| @@ -305,8 +305,10 @@ std::ostream& operator<<(std::ostream& os, const WasmModule& module); |
| std::ostream& operator<<(std::ostream& os, const WasmFunction& function); |
| std::ostream& operator<<(std::ostream& os, const WasmFunctionName& name); |
| -typedef Result<const WasmModule*> ModuleResult; |
| -typedef Result<WasmFunction*> FunctionResult; |
| +using ModuleResult = Result<const WasmModule*>; |
|
titzer
2016/06/10 11:20:05
You can just use a typedef for these, since they a
Clemens Hammacher
2016/06/16 08:14:18
Done.
|
| +using FunctionResult = Result<WasmFunction*>; |
| +using FunctionOffsets = std::vector<std::pair<int, int>>; |
| +using FunctionOffsetsResult = Result<FunctionOffsets>; |
| // For testing. Decode, verify, and run the last exported function in the |
| // given encoded module. |