Bug 1073771 - Add namespaces and whatnot to make JitMoveEmitterCycles compile. r=dougc

--HG--
extra : rebase_source : 50eb1858d4c2103766c77d51684b926993dfceb8
This commit is contained in:
Marty Rosenberg 2014-09-26 21:48:00 -04:00
Родитель 63afe24da8
Коммит 9459b09cd3
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -52,12 +52,14 @@ static MOZ_CONSTEXPR_VAR js::jit::FloatRegister s29(29, js::jit::VFPRegister::Si
static MOZ_CONSTEXPR_VAR js::jit::FloatRegister s30(30, js::jit::VFPRegister::Single); static MOZ_CONSTEXPR_VAR js::jit::FloatRegister s30(30, js::jit::VFPRegister::Single);
static MOZ_CONSTEXPR_VAR js::jit::FloatRegister s31(31, js::jit::VFPRegister::Single); static MOZ_CONSTEXPR_VAR js::jit::FloatRegister s31(31, js::jit::VFPRegister::Single);
static JitCode * static js::jit::JitCode *
linkAndAllocate(JSContext *cx, MacroAssembler *masm) linkAndAllocate(JSContext *cx, js::jit::MacroAssembler *masm)
{ {
using namespace js;
using namespace js::jit;
AutoFlushICache afc("test"); AutoFlushICache afc("test");
Linker l(*masm); Linker l(*masm);
return l.newCode<CanGC>(cx, ION_CODE); return l.newCode<CanGC>(cx, JSC::ION_CODE);
} }
BEGIN_TEST(testJitMoveEmitterCycles_simple) BEGIN_TEST(testJitMoveEmitterCycles_simple)