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
6650efe2
Commit
6650efe2
authored
Mar 22, 2019
by
nagayama15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
⬆
Update Binaryen
parent
4bf1e9f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
comparison.hpp
src/kyut/comparison.hpp
+4
-14
No files found.
src/kyut/comparison.hpp
View file @
6650efe2
...
@@ -333,20 +333,10 @@ namespace wasm {
...
@@ -333,20 +333,10 @@ namespace wasm {
}
}
inline
bool
operator
<
(
const
ExpressionList
&
lhs
,
const
ExpressionList
&
rhs
)
noexcept
{
inline
bool
operator
<
(
const
ExpressionList
&
lhs
,
const
ExpressionList
&
rhs
)
noexcept
{
auto
lIt
=
lhs
.
begin
();
return
std
::
lexicographical_compare
(
auto
lEnd
=
lhs
.
end
();
std
::
begin
(
lhs
),
std
::
end
(
lhs
),
std
::
begin
(
rhs
),
std
::
end
(
rhs
),
[](
const
auto
&
a
,
const
auto
&
b
)
{
auto
rIt
=
rhs
.
begin
();
return
*
a
<
*
b
;
auto
rEnd
=
rhs
.
end
();
});
for
(;
lIt
!=
lEnd
&&
rIt
!=
rEnd
;
++
lIt
,
++
rIt
)
{
if
(
**
lIt
<
**
rIt
)
{
return
true
;
}
else
if
(
**
rIt
<
**
lIt
)
{
return
false
;
}
}
return
!
(
lIt
!=
lEnd
)
&&
rIt
!=
rEnd
;
}
}
}
// namespace wasm
}
// namespace wasm
...
...
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