Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
386b688f
Commit
386b688f
authored
Apr 06, 2015
by
Michael Arntzenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quieten irgenerator verbose output
parent
1519fcfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
src/codegen/irgen/irgenerator.cpp
src/codegen/irgen/irgenerator.cpp
+12
-12
No files found.
src/codegen/irgen/irgenerator.cpp
View file @
386b688f
...
...
@@ -2478,24 +2478,24 @@ public:
}
void
run
(
const
CFGBlock
*
block
)
override
{
if
(
VERBOSITY
(
"irgenerator"
)
>=
1
)
{
// print starting symbol table
printf
(
" %d init:"
,
block
->
idx
);
for
(
auto
it
=
symbol_table
.
begin
();
it
!=
symbol_table
.
end
();
++
it
)
printf
(
" %s"
,
it
->
first
.
c_str
());
printf
(
"
\n
"
);
}
//
if (VERBOSITY("irgenerator") >= 1) { // print starting symbol table
//
printf(" %d init:", block->idx);
//
for (auto it = symbol_table.begin(); it != symbol_table.end(); ++it)
//
printf(" %s", it->first.c_str());
//
printf("\n");
//
}
for
(
int
i
=
0
;
i
<
block
->
body
.
size
();
i
++
)
{
if
(
state
==
DEAD
)
break
;
assert
(
state
!=
FINISHED
);
doStmt
(
block
->
body
[
i
],
UnwindInfo
(
block
->
body
[
i
],
NULL
));
}
if
(
VERBOSITY
(
"irgenerator"
)
>=
1
)
{
// print ending symbol table
printf
(
" %d fini:"
,
block
->
idx
);
for
(
auto
it
=
symbol_table
.
begin
();
it
!=
symbol_table
.
end
();
++
it
)
printf
(
" %s"
,
it
->
first
.
c_str
());
printf
(
"
\n
"
);
}
//
if (VERBOSITY("irgenerator") >= 1) { // print ending symbol table
//
printf(" %d fini:", block->idx);
//
for (auto it = symbol_table.begin(); it != symbol_table.end(); ++it)
//
printf(" %s", it->first.c_str());
//
printf("\n");
//
}
}
void
doSafePoint
()
override
{
emitter
.
getBuilder
()
->
CreateCall
(
g
.
funcs
.
allowGLReadPreemption
);
}
...
...
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