mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
If trees are not enabled, don't try to reuse state and param1.
This commit is contained in:
parent
ad3e892e92
commit
86aa1f7ff7
@ -490,7 +490,7 @@ TraceRecorder::TraceRecorder(JSContext* cx, GuardRecord* _anchor,
|
||||
lir = func_filter = new (&gc) FuncFilter(lir, *this);
|
||||
lir->ins0(LIR_trace);
|
||||
|
||||
if (fragment->root == fragment) {
|
||||
if (!nanojit::AvmCore::config.tree_opt || fragment->root == fragment) {
|
||||
lirbuf->state = addName(lir->insParam(0), "state");
|
||||
lirbuf->param1 = addName(lir->insParam(1), "param1");
|
||||
}
|
||||
|
@ -322,6 +322,7 @@ namespace avmplus
|
||||
verbose_live = 1;
|
||||
show_stats = 1;
|
||||
#endif
|
||||
tree_opt = 0;
|
||||
}
|
||||
|
||||
uint32_t tree_opt:1;
|
||||
|
Loading…
Reference in New Issue
Block a user