Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
fb8fda8f
Commit
fb8fda8f
authored
Feb 09, 2019
by
Paul
Browse files
Remove static assert
parent
c749ed33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
src/instruction.cpp
src/instruction.cpp
+0
-3
No files found.
src/instruction.cpp
View file @
fb8fda8f
...
@@ -97,9 +97,6 @@ const std::vector<instruction_ref>& instruction::outputs() const { return output
...
@@ -97,9 +97,6 @@ const std::vector<instruction_ref>& instruction::outputs() const { return output
bool
operator
==
(
const
instruction
&
x
,
const
instruction
&
y
)
bool
operator
==
(
const
instruction
&
x
,
const
instruction
&
y
)
{
{
static_assert
(
sizeof
(
instruction
)
==
(
sizeof
(
x
.
op
)
+
sizeof
(
x
.
result
)
+
sizeof
(
x
.
output
)
+
sizeof
(
x
.
arguments
)
+
sizeof
(
x
.
lit
)),
"Update equality operator"
);
if
(
std
::
tie
(
x
.
result
,
x
.
op
,
x
.
arguments
)
!=
std
::
tie
(
y
.
result
,
y
.
op
,
y
.
arguments
))
if
(
std
::
tie
(
x
.
result
,
x
.
op
,
x
.
arguments
)
!=
std
::
tie
(
y
.
result
,
y
.
op
,
y
.
arguments
))
return
false
;
return
false
;
if
(
x
.
name
()
==
"@literal"
)
if
(
x
.
name
()
==
"@literal"
)
...
...
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