Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
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
lvzhengyang
riscv-gcc-1
Commits
58c55a32
Commit
58c55a32
authored
Nov 14, 2013
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler: Use backend interface for comparisons.
From-SVN: r204827
parent
1726bd6e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
gcc/go/gofrontend/expressions.cc
+0
-0
gcc/go/gofrontend/expressions.h
+5
-3
No files found.
gcc/go/gofrontend/expressions.cc
View file @
58c55a32
This diff is collapsed.
Click to expand it.
gcc/go/gofrontend/expressions.h
View file @
58c55a32
...
...
@@ -655,12 +655,11 @@ class Expression
Type
*
rhs_type
,
tree
rhs_tree
,
bool
for_type_guard
,
Location
);
// Return a tree implementing the comparison LHS_
TREE OP RHS_TREE
.
// Return a tree implementing the comparison LHS_
EXPR OP RHS_EXPR
.
// TYPE is the type of both sides.
static
tree
comparison_tree
(
Translate_context
*
,
Type
*
result_type
,
Operator
op
,
Type
*
left_type
,
tree
left_tree
,
Type
*
right_type
,
tree
right_tree
,
Location
);
Expression
*
left_expr
,
Expression
*
right_expr
,
Location
);
// Return the backend expression for the numeric constant VAL.
static
Bexpression
*
...
...
@@ -1306,6 +1305,9 @@ class Binary_expression : public Expression
lower_array_comparison
(
Gogo
*
,
Statement_inserter
*
);
Expression
*
lower_interface_value_comparison
(
Gogo
*
,
Statement_inserter
*
);
Expression
*
lower_compare_to_memcmp
(
Gogo
*
,
Statement_inserter
*
);
Expression
*
...
...
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