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
da0e8d95
Commit
da0e8d95
authored
Aug 06, 2009
by
Neil Vachharajani
Committed by
Neil Vachharajani
Aug 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* value-prof.c (init_pid_map): Replace xmalloc with XCNEWVEC.
From-SVN: r150544
parent
8375f7b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
ChangeLog
+4
-0
gcc/value-prof.c
+2
-3
No files found.
ChangeLog
View file @
da0e8d95
2009-08-06 Neil Vachharajani <nvachhar@gmail.com>
* value-prof.c (init_pid_map): Replace xmalloc with XCNEWVEC.
2009-08-06 Neil Vachharajani <nvachhar@gmail.com>
* MAINTAINERS: Add my name to Write After Approval list.
2009-08-06 Michael Eager <eager@eagercon.com>
...
...
gcc/value-prof.c
View file @
da0e8d95
/* Transformations based on profile information for values.
Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software
Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
, 2009
Free Software
Foundation, Inc.
This file is part of GCC.
...
...
@@ -1059,8 +1059,7 @@ init_pid_map (void)
if
(
pid_map
!=
NULL
)
return
;
pid_map
=
(
struct
cgraph_node
**
)
xmalloc
(
sizeof
(
struct
cgraph_node
*
)
*
cgraph_max_pid
);
pid_map
=
XCNEWVEC
(
struct
cgraph_node
*
,
cgraph_max_pid
);
for
(
n
=
cgraph_nodes
;
n
;
n
=
n
->
next
)
{
...
...
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