Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
educg-net-12619-928705
helesta
Commits
b32af789
Commit
b32af789
authored
2 years ago
by
王建楠
Browse files
Options
Download
Patches
Plain Diff
fix: upd line limit
parent
b0a6359f
func-inline-2
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ir/opt/func_inline.cpp
+1
-1
src/ir/opt/func_inline.cpp
with
1 addition
and
1 deletion
+1
-1
src/ir/opt/func_inline.cpp
+
1
−
1
View file @
b32af789
...
...
@@ -209,7 +209,7 @@ void func_inline(IR::CompileUnit *ir) {
int
instr_cnt
=
0
;
func
->
for_each
(
[
&
](
IR
::
BB
*
bb
)
{
instr_cnt
+=
bb
->
instrs
.
size
();
});
if
(
instr_cnt
>=
100
0
)
if
(
instr_cnt
>=
100
)
return
;
// std::cerr << func->name << "(" << bb->name << ") -> " <<
// func_t->name << " [" << i << "," << instr_cnt << "," <<
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets