mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
transform_mjit_header.rb: more strict FUNC_HEADER_REGEXP
to reduce "SKIPPED" logs on MJIT header build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
11974fc010
commit
cf855124d6
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ module MJITHeader
|
||||||
# VALUE foo(int bar)
|
# VALUE foo(int bar)
|
||||||
# VALUE __attribute__ ((foo)) bar(int baz)
|
# VALUE __attribute__ ((foo)) bar(int baz)
|
||||||
# __attribute__ ((foo)) VALUE bar(int baz)
|
# __attribute__ ((foo)) VALUE bar(int baz)
|
||||||
FUNC_HEADER_REGEXP = /\A((\s*#{ATTR_REGEXP})|[^\[{(])*\((#{ATTR_REGEXP}|[^()])*\)(\s*#{ATTR_REGEXP})*\s*/
|
FUNC_HEADER_REGEXP = /\A[^\[{(]*(\s*#{ATTR_REGEXP})*[^\[{(]*\((#{ATTR_REGEXP}|[^()])*\)(\s*#{ATTR_REGEXP})*\s*/
|
||||||
TARGET_NAME_REGEXP = /\A(rb|ruby|vm|insn|attr)_/
|
TARGET_NAME_REGEXP = /\A(rb|ruby|vm|insn|attr)_/
|
||||||
|
|
||||||
# Predefined macros for compilers which are already supported by MJIT.
|
# Predefined macros for compilers which are already supported by MJIT.
|
||||||
|
|
Loading…
Reference in a new issue