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
f39cc0bf
Commit
f39cc0bf
authored
Apr 04, 2019
by
nagayama15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
⬆
Update ref Binaryen
parent
6650efe2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
binaryen.cmake
cmake/binaryen.cmake
+1
-1
comparison.hpp
src/kyut/comparison.hpp
+5
-4
operand_swapping_watermarker.cpp
src/kyut/pass/operand_swapping_watermarker.cpp
+2
-2
No files found.
cmake/binaryen.cmake
View file @
f39cc0bf
ExternalProject_Add
(
ExternalProject_Add
(
binaryen
binaryen
URL https://github.com/WebAssembly/binaryen/archive/
1.38.30
.tar.gz
URL https://github.com/WebAssembly/binaryen/archive/
91704fbae74fa7c89a017764eaa5ff03eda5ec0d
.tar.gz
PREFIX binaryen
PREFIX binaryen
INSTALL_COMMAND
""
INSTALL_COMMAND
""
TEST_COMMAND
""
TEST_COMMAND
""
...
...
src/kyut/comparison.hpp
View file @
f39cc0bf
...
@@ -261,10 +261,11 @@ namespace wasm {
...
@@ -261,10 +261,11 @@ namespace wasm {
std
::
tie
(
r
.
type
,
r
.
offset
,
*
r
.
ptr
,
*
r
.
expected
,
*
r
.
timeout
);
std
::
tie
(
r
.
type
,
r
.
offset
,
*
r
.
ptr
,
*
r
.
expected
,
*
r
.
timeout
);
}
}
case
Expression
:
:
Id
::
AtomicWakeId
:
{
case
Expression
:
:
Id
::
AtomicNotifyId
:
{
const
auto
&
l
=
*
lhs
.
cast
<
AtomicWake
>
();
const
auto
&
l
=
*
lhs
.
cast
<
AtomicNotify
>
();
const
auto
&
r
=
*
rhs
.
cast
<
AtomicWake
>
();
const
auto
&
r
=
*
rhs
.
cast
<
AtomicNotify
>
();
return
std
::
tie
(
l
.
type
,
l
.
offset
,
*
l
.
ptr
,
*
l
.
wakeCount
)
<
std
::
tie
(
r
.
type
,
r
.
offset
,
*
r
.
ptr
,
*
r
.
wakeCount
);
return
std
::
tie
(
l
.
type
,
l
.
offset
,
*
l
.
ptr
,
*
l
.
notifyCount
)
<
std
::
tie
(
r
.
type
,
r
.
offset
,
*
r
.
ptr
,
*
r
.
notifyCount
);
}
}
case
Expression
:
:
Id
::
SIMDExtractId
:
{
case
Expression
:
:
Id
::
SIMDExtractId
:
{
...
...
src/kyut/pass/operand_swapping_watermarker.cpp
View file @
f39cc0bf
...
@@ -135,9 +135,9 @@ namespace kyut::pass {
...
@@ -135,9 +135,9 @@ namespace kyut::pass {
return
true
;
return
true
;
}
}
bool
visitAtomic
Wake
(
wasm
::
AtomicWake
*
curr
)
{
bool
visitAtomic
Notify
(
wasm
::
AtomicNotify
*
curr
)
{
visit
(
curr
->
ptr
);
visit
(
curr
->
ptr
);
visit
(
curr
->
wake
Count
);
visit
(
curr
->
notify
Count
);
return
true
;
return
true
;
}
}
...
...
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