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
87a0d1ac
Commit
87a0d1ac
authored
27 years ago
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove code accidentally added twice.
From-SVN: r15909
parent
434fc96f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
70 deletions
+0
-70
libiberty/cplus-dem.c
+0
-70
No files found.
libiberty/cplus-dem.c
View file @
87a0d1ac
...
...
@@ -293,9 +293,6 @@ string_prependn PARAMS ((string *, const char *, int));
static
int
get_count
PARAMS
((
const
char
**
,
int
*
));
static
int
consume_count_with_underscores
PARAMS
((
const
char
**
));
static
int
consume_count
PARAMS
((
const
char
**
));
...
...
@@ -380,42 +377,6 @@ consume_count_with_underscores (mangled)
return
idx
;
}
/* Like consume_count, but for counts that are preceeded and followed
by '_' if they are greater than 10. Also, -1 is returned for
failure, since 0 can be a valid value. */
static
int
consume_count_with_underscores
(
mangled
)
const
char
**
mangled
;
{
int
idx
;
if
(
**
mangled
==
'_'
)
{
(
*
mangled
)
++
;
if
(
!
isdigit
(
**
mangled
))
return
-
1
;
idx
=
consume_count
(
mangled
);
if
(
**
mangled
!=
'_'
)
/* The trailing underscore was missing. */
return
-
1
;
(
*
mangled
)
++
;
}
else
{
if
(
**
mangled
<
'0'
||
**
mangled
>
'9'
)
return
-
1
;
idx
=
**
mangled
-
'0'
;
(
*
mangled
)
++
;
}
return
idx
;
}
int
cplus_demangle_opname
(
opname
,
result
,
options
)
const
char
*
opname
;
...
...
@@ -2387,37 +2348,6 @@ do_type (work, mangled, result)
}
break
;
case
'X'
:
case
'Y'
:
/* A template parm. We substitute the corresponding argument. */
{
int
idx
;
int
lvl
;
(
*
mangled
)
++
;
idx
=
consume_count_with_underscores
(
mangled
);
if
(
idx
==
-
1
||
(
work
->
tmpl_argvec
&&
idx
>=
work
->
ntmpl_args
)
||
consume_count_with_underscores
(
mangled
)
==
-
1
)
{
success
=
0
;
break
;
}
if
(
work
->
tmpl_argvec
)
string_append
(
result
,
work
->
tmpl_argvec
[
idx
]);
else
{
char
buf
[
10
];
sprintf
(
buf
,
"T%d"
,
idx
);
string_append
(
result
,
buf
);
}
success
=
1
;
}
break
;
default
:
success
=
demangle_fund_type
(
work
,
mangled
,
result
);
break
;
...
...
This diff is collapsed.
Click to expand it.
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