diff options
author | Ben Smith <binjimin@gmail.com> | 2017-06-12 16:10:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-12 16:10:17 -0700 |
commit | 194fbedf2065cc2ac09a4ead997256a8a8f8894a (patch) | |
tree | 472f10d5d4ec335e3adf39a85f49ca73a08a0280 /src/tools/wast2wasm.cc | |
parent | 3377747c3fb159826c5bd6d4a70ee5e167c79552 (diff) | |
download | wabt-194fbedf2065cc2ac09a4ead997256a8a8f8894a.tar.gz wabt-194fbedf2065cc2ac09a4ead997256a8a8f8894a.tar.bz2 wabt-194fbedf2065cc2ac09a4ead997256a8a8f8894a.zip |
Use CamelCase names and member functions in ir.h (#492)
* Remove destroy_var; use destructor instead
* Add Var copy/move constructor/assignment operator.
Diffstat (limited to 'src/tools/wast2wasm.cc')
-rw-r--r-- | src/tools/wast2wasm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wast2wasm.cc b/src/tools/wast2wasm.cc index 6c84d66c..eb5ea041 100644 --- a/src/tools/wast2wasm.cc +++ b/src/tools/wast2wasm.cc @@ -237,7 +237,7 @@ int ProgramMain(int argc, char** argv) { &s_write_binary_spec_options); } else { MemoryWriter writer; - Module* module = get_first_module(script); + const Module* module = script->GetFirstModule(); if (module) { result = write_binary_module(&writer, module, &s_write_binary_options); |