mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
(no bug) Move definition of RESideExit *exit to top of function, to avoid error from GCC about jumping across its initialization.
This commit is contained in:
parent
cb596bbb0a
commit
0f68ad7ed4
@ -2222,6 +2222,7 @@ class RegExpNativeCompiler {
|
||||
LIns* skip;
|
||||
LIns* start;
|
||||
bool oom = false;
|
||||
RESideExit* exit;
|
||||
|
||||
this->cx = cx;
|
||||
jschar* re_chars;
|
||||
@ -2267,7 +2268,7 @@ class RegExpNativeCompiler {
|
||||
re_length - sizeof(jschar));
|
||||
guard = (GuardRecord *) skip->payload();
|
||||
memset(guard, 0, sizeof(*guard));
|
||||
RESideExit* exit = (RESideExit*)(guard+1);
|
||||
exit = (RESideExit*)(guard+1);
|
||||
guard->exit = exit;
|
||||
guard->exit->target = fragment;
|
||||
exit->re_flags = re->flags;
|
||||
|
Loading…
Reference in New Issue
Block a user