mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[INFER] Revert 118fb707c569, just initialize varTypes to NULL in ActiveFrame constructor.
This commit is contained in:
parent
cd0e91e189
commit
d6fcfe5e43
@ -455,8 +455,6 @@ mjit::Compiler::pushActiveFrame(JSScript *script, uint32 argc)
|
||||
CompileStatus status = prepareInferenceTypes(script, newa);
|
||||
if (status != Compile_Okay)
|
||||
return status;
|
||||
} else {
|
||||
newa->varTypes = NULL;
|
||||
}
|
||||
|
||||
this->script = script;
|
||||
@ -559,9 +557,9 @@ mjit::Compiler::performCompilation(JITScript **jitp)
|
||||
|
||||
mjit::Compiler::ActiveFrame::ActiveFrame(JSContext *cx)
|
||||
: parent(NULL), parentPC(NULL), script(NULL), jumpMap(NULL),
|
||||
inlineIndex(uint32(-1)), needReturnValue(false), syncReturnValue(false),
|
||||
returnValueDouble(false), returnSet(false), returnEntry(NULL),
|
||||
returnJumps(NULL), exitState(NULL)
|
||||
inlineIndex(uint32(-1)), varTypes(NULL), needReturnValue(false),
|
||||
syncReturnValue(false), returnValueDouble(false), returnSet(false),
|
||||
returnEntry(NULL), returnJumps(NULL), exitState(NULL)
|
||||
{}
|
||||
|
||||
mjit::Compiler::ActiveFrame::~ActiveFrame()
|
||||
|
Loading…
Reference in New Issue
Block a user