diff options
author | adeshkp <adeshkp@users.noreply.github.com> | 2019-03-14 09:53:02 -0400 |
---|---|---|
committer | adeshkp <adeshkp@users.noreply.github.com> | 2019-03-14 09:53:02 -0400 |
commit | 90d1ee25b1de235847605fbc95a9ddebcf5c061d (patch) | |
tree | bacd5705d6571f95a5fd1807f68c76ed8bd6ac6b /js | |
parent | 52be954e59b3ef06b7e8bfa28630e1005351d183 (diff) | |
download | uxp-90d1ee25b1de235847605fbc95a9ddebcf5c061d.tar.gz |
Remove a couple of unused variables
Diffstat (limited to 'js')
-rw-r--r-- | js/src/jit/StupidAllocator.cpp | 1 | ||||
-rw-r--r-- | js/src/vm/ObjectGroup.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/js/src/jit/StupidAllocator.cpp b/js/src/jit/StupidAllocator.cpp index 8e3ea62865..55431e8e0c 100644 --- a/js/src/jit/StupidAllocator.cpp +++ b/js/src/jit/StupidAllocator.cpp @@ -407,7 +407,6 @@ StupidAllocator::allocateForDefinition(LInstruction* ins, LDefinition* def) { uint32_t vreg = def->virtualRegister(); - CodePosition from; if ((def->output()->isRegister() && def->policy() == LDefinition::FIXED) || def->policy() == LDefinition::MUST_REUSE_INPUT) { diff --git a/js/src/vm/ObjectGroup.cpp b/js/src/vm/ObjectGroup.cpp index 1fbf8976b6..46159a9724 100644 --- a/js/src/vm/ObjectGroup.cpp +++ b/js/src/vm/ObjectGroup.cpp @@ -495,7 +495,6 @@ ObjectGroup::defaultNewGroup(ExclusiveContext* cx, const Class* clasp, if (associated->is<JSFunction>()) { // Canonicalize new functions to use the original one associated with its script. - JSFunction* fun = &associated->as<JSFunction>(); associated = associated->as<JSFunction>().maybeCanonicalFunction(); // If we have previously cleared the 'new' script information for this |