Verified Commit 5b51fc09 authored by nagayama15's avatar nagayama15

fix: add inline specifiers

parent 45d6fae4
...@@ -10,7 +10,7 @@ namespace kyut { ...@@ -10,7 +10,7 @@ namespace kyut {
} // namespace kyut } // namespace kyut
namespace kyut::methods::export_ordering { namespace kyut::methods::export_ordering {
std::size_t embed(CircularBitStreamReader& r, wasm::Module& module, std::size_t chunk_size) { inline std::size_t embed(CircularBitStreamReader& r, wasm::Module& module, std::size_t chunk_size) {
const auto size_bits = embed_by_ordering( const auto size_bits = embed_by_ordering(
r, r,
chunk_size, chunk_size,
...@@ -23,7 +23,7 @@ namespace kyut::methods::export_ordering { ...@@ -23,7 +23,7 @@ namespace kyut::methods::export_ordering {
return size_bits; return size_bits;
} }
std::size_t extract(BitStreamWriter& w, wasm::Module& module, std::size_t chunk_size) { inline std::size_t extract(BitStreamWriter& w, wasm::Module& module, std::size_t chunk_size) {
const auto size_bits = extract_by_ordering( const auto size_bits = extract_by_ordering(
w, w,
chunk_size, chunk_size,
......
...@@ -10,7 +10,7 @@ namespace kyut { ...@@ -10,7 +10,7 @@ namespace kyut {
} // namespace kyut } // namespace kyut
namespace kyut::methods::function_ordering { namespace kyut::methods::function_ordering {
std::size_t embed(CircularBitStreamReader& r, wasm::Module& module, std::size_t chunk_size) { inline std::size_t embed(CircularBitStreamReader& r, wasm::Module& module, std::size_t chunk_size) {
const auto begin = std::begin(module.functions); const auto begin = std::begin(module.functions);
const auto end = std::end(module.functions); const auto end = std::end(module.functions);
...@@ -30,7 +30,7 @@ namespace kyut::methods::function_ordering { ...@@ -30,7 +30,7 @@ namespace kyut::methods::function_ordering {
return size_bits; return size_bits;
} }
std::size_t extract(BitStreamWriter& w, wasm::Module& module, std::size_t chunk_size) { inline std::size_t extract(BitStreamWriter& w, wasm::Module& module, std::size_t chunk_size) {
const auto begin = std::begin(module.functions); const auto begin = std::begin(module.functions);
const auto end = std::end(module.functions); const auto end = std::end(module.functions);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment