Bug 1040785: Remove unused inc32 and dec32; r=jandem
authorBenjamin Bouvier <benj@benj.me>
Mon, 21 Jul 2014 09:45:23 +0200
changeset 217180 e4c96102ba90f0cdfdb8eb6870bd4c9fe79dbaad
parent 217179 6047f97d5986e175a93b54f6ddb4548345f99abb
child 217181 354f9f82b857077d774fbdaab21f8686766ef5e0
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1040785
milestone33.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 1040785: Remove unused inc32 and dec32; r=jandem
js/src/jit/shared/MacroAssembler-x86-shared.h
--- a/js/src/jit/shared/MacroAssembler-x86-shared.h
+++ b/js/src/jit/shared/MacroAssembler-x86-shared.h
@@ -182,25 +182,19 @@ class MacroAssemblerX86Shared : public A
         xorl(imm, dest);
     }
     void xor32(Register src, Register dest) {
         xorl(src, dest);
     }
     void not32(Register reg) {
         notl(reg);
     }
-    void inc32(const Operand &addr) {
-        incl(addr);
-    }
     void atomic_inc32(const Operand &addr) {
         lock_incl(addr);
     }
-    void dec32(const Operand &addr) {
-        decl(addr);
-    }
     void atomic_dec32(const Operand &addr) {
         lock_decl(addr);
     }
     void atomic_cmpxchg32(Register src, const Operand &addr, Register dest) {
         // %eax must be explicitly provided for calling clarity.
         MOZ_ASSERT(dest.code() == JSC::X86Registers::eax);
         lock_cmpxchg32(src, addr);
     }