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
|
@ -14,7 +14,7 @@ module MJITHeader
|
|||
# VALUE foo(int bar)
|
||||
# VALUE __attribute__ ((foo)) 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)_/
|
||||
|
||||
# Predefined macros for compilers which are already supported by MJIT.
|
||||
|
|
Loading…
Reference in New Issue