Remove a couple of unused variables
parent
971a7a8048
commit
2113b4eb60
|
@ -407,7 +407,6 @@ StupidAllocator::allocateForDefinition(LInstruction* ins, LDefinition* def)
|
||||||
{
|
{
|
||||||
uint32_t vreg = def->virtualRegister();
|
uint32_t vreg = def->virtualRegister();
|
||||||
|
|
||||||
CodePosition from;
|
|
||||||
if ((def->output()->isRegister() && def->policy() == LDefinition::FIXED) ||
|
if ((def->output()->isRegister() && def->policy() == LDefinition::FIXED) ||
|
||||||
def->policy() == LDefinition::MUST_REUSE_INPUT)
|
def->policy() == LDefinition::MUST_REUSE_INPUT)
|
||||||
{
|
{
|
||||||
|
|
|
@ -495,7 +495,6 @@ ObjectGroup::defaultNewGroup(ExclusiveContext* cx, const Class* clasp,
|
||||||
if (associated->is<JSFunction>()) {
|
if (associated->is<JSFunction>()) {
|
||||||
|
|
||||||
// Canonicalize new functions to use the original one associated with its script.
|
// Canonicalize new functions to use the original one associated with its script.
|
||||||
JSFunction* fun = &associated->as<JSFunction>();
|
|
||||||
associated = associated->as<JSFunction>().maybeCanonicalFunction();
|
associated = associated->as<JSFunction>().maybeCanonicalFunction();
|
||||||
|
|
||||||
// If we have previously cleared the 'new' script information for this
|
// If we have previously cleared the 'new' script information for this
|
||||||
|
|
Loading…
Reference in New Issue