Bug 1073771 - Add namespaces and whatnot to make JitMoveEmitterCycles compile. r=dougc
authorMarty Rosenberg <mrosenberg@mozilla.com>
Fri, 26 Sep 2014 21:48:00 -0400
changeset 230803 76ab08438176ea4457544ce6bf92f4ec002fe0d9
parent 230802 aaca52b09d8f716df5642b77f220fbcf145f1dcf
child 230804 d574ca46990d846f71d99c6e4dbcc5bcf85720c0
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdougc
bugs1073771
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1073771 - Add namespaces and whatnot to make JitMoveEmitterCycles compile. r=dougc
js/src/jsapi-tests/testJitMoveEmitterCycles.cpp
--- a/js/src/jsapi-tests/testJitMoveEmitterCycles.cpp
+++ b/js/src/jsapi-tests/testJitMoveEmitterCycles.cpp
@@ -47,19 +47,21 @@ static MOZ_CONSTEXPR_VAR js::jit::FloatR
 static MOZ_CONSTEXPR_VAR js::jit::FloatRegister s25(25, js::jit::VFPRegister::Single);
 static MOZ_CONSTEXPR_VAR js::jit::FloatRegister s26(26, js::jit::VFPRegister::Single);
 static MOZ_CONSTEXPR_VAR js::jit::FloatRegister s27(27, js::jit::VFPRegister::Single);
 static MOZ_CONSTEXPR_VAR js::jit::FloatRegister s28(28, js::jit::VFPRegister::Single);
 static MOZ_CONSTEXPR_VAR js::jit::FloatRegister s29(29, 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 JitCode *
-linkAndAllocate(JSContext *cx, MacroAssembler *masm)
+static js::jit::JitCode *
+linkAndAllocate(JSContext *cx, js::jit::MacroAssembler *masm)
 {
+    using namespace js;
+    using namespace js::jit;
     AutoFlushICache afc("test");
     Linker l(*masm);
     return l.newCode<CanGC>(cx, ION_CODE);
 }
 
 BEGIN_TEST(testJitMoveEmitterCycles_simple)
 {
     using namespace js;