Skip to content
Snippets Groups Projects
Commit bdf80298 authored by Per Hedbor's avatar Per Hedbor
Browse files

Let the compiler decide to inline or not. It's usually better at it.

parent 41ed9880
No related branches found
No related tags found
No related merge requests found
......@@ -288,7 +288,7 @@ class Switch(string test) {
void make_fun() {
made_fun = ++function_serial;
functions += "INLINE static int _asm_peep_"+made_fun+"(void)\n{\n";
functions += "static int _asm_peep_"+made_fun+"(void)\n{\n";
functions += make_switch(2);
functions +=
" return 0;\n"
......@@ -493,7 +493,7 @@ int main(int argc, array(string) argv)
write( functions );
write("INLINE static int low_asm_opt(void) {\n");
write("static int low_asm_opt(void) {\n");
map(a->get_string(2), write);
write(" return 0;\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment