[INFER] Revert 118fb707c569, just initialize varTypes to NULL in ActiveFrame constructor.

This commit is contained in:
Jan de Mooij 2011-05-16 11:02:18 +02:00
parent cd0e91e189
commit d6fcfe5e43

View File

@ -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()