mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
SpiderMonkey: Cancel GCC compilation noise. no bug r=jandem
This commit is contained in:
parent
581f62bdc5
commit
1e30c860c2
@ -1855,12 +1855,11 @@ ion::Invalidate(types::TypeCompartment &types, FreeOp *fop,
|
||||
// until its last invalidated frame is destroyed.
|
||||
for (size_t i = 0; i < invalid.length(); i++) {
|
||||
types::CompilerOutput &co = *invalid[i].compilerOutput(types);
|
||||
ExecutionMode executionMode;
|
||||
ExecutionMode executionMode = SequentialExecution;
|
||||
switch (co.kind()) {
|
||||
case types::CompilerOutput::MethodJIT:
|
||||
continue;
|
||||
case types::CompilerOutput::Ion:
|
||||
executionMode = SequentialExecution;
|
||||
break;
|
||||
case types::CompilerOutput::ParallelIon:
|
||||
executionMode = ParallelExecution;
|
||||
|
@ -575,7 +575,7 @@ CodeGeneratorX86Shared::visitOutOfLineUndoALUOperation(OutOfLineUndoALUOperation
|
||||
LInstruction *ins = ool->ins();
|
||||
Register reg = ToRegister(ins->getDef(0));
|
||||
|
||||
LAllocation *lhs = ins->getOperand(0);
|
||||
mozilla::DebugOnly<LAllocation *> lhs = ins->getOperand(0);
|
||||
LAllocation *rhs = ins->getOperand(1);
|
||||
|
||||
JS_ASSERT(reg == ToRegister(lhs));
|
||||
|
@ -207,8 +207,10 @@ SCInput::SCInput(JSContext *cx, uint64_t *data, size_t nbytes)
|
||||
bool
|
||||
SCInput::read(uint64_t *p)
|
||||
{
|
||||
if (point == end)
|
||||
if (point == end) {
|
||||
*p = 0; /* initialize to shut GCC up */
|
||||
return eof();
|
||||
}
|
||||
*p = SwapBytes(*point++);
|
||||
return true;
|
||||
}
|
||||
@ -216,7 +218,7 @@ SCInput::read(uint64_t *p)
|
||||
bool
|
||||
SCInput::readPair(uint32_t *tagp, uint32_t *datap)
|
||||
{
|
||||
uint64_t u = 0; /* initialize to shut GCC up */
|
||||
uint64_t u;
|
||||
bool ok = read(&u);
|
||||
if (ok) {
|
||||
*tagp = uint32_t(u >> 32);
|
||||
|
@ -6149,8 +6149,7 @@ TypeCompartment::sweep(FreeOp *fop)
|
||||
if (arrayTypeTable) {
|
||||
for (ArrayTypeTable::Enum e(*arrayTypeTable); !e.empty(); e.popFront()) {
|
||||
const ArrayTableKey &key = e.front().key;
|
||||
TypeObject *obj = e.front().value;
|
||||
JS_ASSERT(obj->proto == key.proto);
|
||||
JS_ASSERT(e.front().value->proto == key.proto);
|
||||
JS_ASSERT(!key.type.isSingleObject());
|
||||
|
||||
bool remove = false;
|
||||
|
@ -928,8 +928,10 @@ JSObject::hasProperty(JSContext *cx, js::HandleObject obj,
|
||||
js::RootedObject pobj(cx);
|
||||
js::RootedShape prop(cx);
|
||||
JSAutoResolveFlags rf(cx, flags);
|
||||
if (!lookupGeneric(cx, obj, id, &pobj, &prop))
|
||||
if (!lookupGeneric(cx, obj, id, &pobj, &prop)) {
|
||||
*foundp = false; /* initialize to shut GCC up */
|
||||
return false;
|
||||
}
|
||||
*foundp = !!prop;
|
||||
return true;
|
||||
}
|
||||
|
@ -315,7 +315,7 @@ WorkerThread::threadLoop()
|
||||
|
||||
ionBuilder = state.ionWorklist.popCopy();
|
||||
|
||||
ion::ExecutionMode executionMode = ionBuilder->info().executionMode();
|
||||
DebugOnly<ion::ExecutionMode> executionMode = ionBuilder->info().executionMode();
|
||||
JS_ASSERT(GetIonScript(ionBuilder->script().unsafeGet(), executionMode) == ION_COMPILING_SCRIPT);
|
||||
|
||||
state.unlock();
|
||||
|
Loading…
Reference in New Issue
Block a user