Bug 1203287 - Fix build errors in ARM64 JIT. r=hv1989

- A new argument was added to a jumpWithPatch(), but arm64 wasn't
  updated.

- Add missing 'using namespace js'. This seems to be random fallout from
  the way source files get unified when building arm64.

- Fix a 'return = foo' typo. It seems this code was never compiled.
This commit is contained in:
Jakob Olesen 2015-09-13 03:29:25 +08:00
parent d60f8b1dd9
commit a359bc698d
3 changed files with 4 additions and 2 deletions

View File

@ -581,7 +581,7 @@ MacroAssembler::pushFakeReturnAddress(Register scratch)
uint32_t pseudoReturnOffset = currentOffset();
leaveNoPool();
return = pseudoReturnOffset;
return pseudoReturnOffset;
}
//}}} check_macroassembler_style

View File

@ -1595,7 +1595,7 @@ class MacroAssemblerCompat : public vixl::MacroAssembler
return CodeOffsetJump(load_bo.getOffset(), pe.index());
}
CodeOffsetJump backedgeJump(RepatchLabel* label, Label* documentation = nullptr) {
return jumpWithPatch(label, documentation);
return jumpWithPatch(label, Always, documentation);
}
template <typename T>
CodeOffsetJump branchPtrWithPatch(Condition cond, Register reg, T ptr, RepatchLabel* label) {

View File

@ -6,6 +6,8 @@
#include "js/UbiNodeCensus.h"
using namespace js;
namespace JS {
namespace ubi {