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 223028 76ab08438176ea4457544ce6bf92f4ec002fe0d9
parent 223027 aaca52b09d8f716df5642b77f220fbcf145f1dcf
child 223029 d574ca46990d846f71d99c6e4dbcc5bcf85720c0
push id7107
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 17:43:31 +0000
treeherdermozilla-aurora@b4b34e0acc75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdougc
bugs1073771
milestone35.0a1
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;