2015-11-12 Tom de Vries <tom@codesourcery.com>
* gen-pass-instances.awk (handle_line): Rename var where to
call_starts_at.
From-SVN: r230218
+2015-11-12 Tom de Vries <tom@codesourcery.com>
+
+ * gen-pass-instances.awk (handle_line): Rename var where to
+ call_starts_at.
+
2015-11-12 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.c (gen_compare_reg): Swap operands also when we
line = $0;
# Find call expression.
- where = match(line, /NEXT_PASS \((.+)\)/);
- if (where == 0)
+ call_starts_at = match(line, /NEXT_PASS \((.+)\)/);
+ if (call_starts_at == 0)
{
print line;
return;
# Find pass_name argument
len_of_pass_name = len_of_call - (len_of_start + len_of_close);
- pass_starts_at = where + len_of_start;
+ pass_starts_at = call_starts_at + len_of_start;
pass_name = substr(line, pass_starts_at, len_of_pass_name);
# Find call expression prefix (until and including called function)