Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wasm-watermarker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nagayama15
wasm-watermarker
Commits
5b51fc09
Verified
Commit
5b51fc09
authored
Nov 29, 2020
by
nagayama15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: add inline specifiers
parent
45d6fae4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ExportOrdering.hpp
lib/kyut/methods/ExportOrdering.hpp
+2
-2
FunctionOrdering.hpp
lib/kyut/methods/FunctionOrdering.hpp
+2
-2
No files found.
lib/kyut/methods/ExportOrdering.hpp
View file @
5b51fc09
...
@@ -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
,
...
...
lib/kyut/methods/FunctionOrdering.hpp
View file @
5b51fc09
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment