Fix another WinNT compiler warning. No bug, r=me.
authorNicholas Nethercote <nnethercote@mozilla.com>
Sat, 06 Mar 2010 09:14:31 +1100
changeset 40245 7aa847faa2726c486525a2f933b5daf3cf918ce0
parent 40244 9c2854a443594f1eea323f7398d9a763a29d72bd
child 40246 0c65023bff0f56920d4ce3c81496f626133d4173
push id12610
push userrsayre@mozilla.com
push dateMon, 05 Apr 2010 17:26:41 +0000
treeherdermozilla-central@1942c0b4e101 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
milestone1.9.3a2pre
Fix another WinNT compiler warning. No bug, r=me.
js/src/nanojit/LIR.h
--- a/js/src/nanojit/LIR.h
+++ b/js/src/nanojit/LIR.h
@@ -678,17 +678,17 @@ namespace nanojit
         inline LIns*    getTarget() const;
         inline void     setTarget(LIns* label);
 
         // For guards.
         inline GuardRecord* record() const;
 
         // For loads/stores.
         inline int32_t  disp() const;
-        inline int32_t  accSet() const;
+        inline AccSet   accSet() const;
 
         // For LInsSk.
         inline LIns*    prevLIns() const;
 
         // For LInsP.
         inline uint8_t  paramArg()  const;
         inline uint8_t  paramKind() const;
 
@@ -1290,17 +1290,17 @@ namespace nanojit
         if (isLInsSti()) {
             return toLInsSti()->disp;
         } else {
             NanoAssert(isLInsLd());
             return toLInsLd()->disp;
         }
     }
 
-    int32_t LIns::accSet() const {
+    AccSet LIns::accSet() const {
         if (isLInsSti()) {
             return toLInsSti()->accSet;
         } else {
             NanoAssert(isLInsLd());
             return toLInsLd()->accSet;
         }
     }