From 32c276bf870cde8234ca99d28823a1925900bfe8 Mon Sep 17 00:00:00 2001 From: "Nicolas B. Pierron" Date: Wed, 24 Jun 2015 22:46:02 +0200 Subject: [PATCH] Bug 1173764 - Enable LAllocation/LUse serialization in optimized builds. r=bhackett --- js/src/jit/LIR.cpp | 2 -- js/src/jit/LIR.h | 8 -------- 2 files changed, 10 deletions(-) diff --git a/js/src/jit/LIR.cpp b/js/src/jit/LIR.cpp index 733549c6f9cf..324ddbe6b1c7 100644 --- a/js/src/jit/LIR.cpp +++ b/js/src/jit/LIR.cpp @@ -340,7 +340,6 @@ LAllocation::aliases(const LAllocation& other) const return *this == other; } -#ifdef DEBUG static const char * const TypeChars[] = { "g", // GENERAL @@ -444,7 +443,6 @@ LAllocation::toString() const MOZ_CRASH("what?"); } } -#endif // DEBUG void LAllocation::dump() const diff --git a/js/src/jit/LIR.h b/js/src/jit/LIR.h index 53a77cb7c4a9..edd18c70b9a5 100644 --- a/js/src/jit/LIR.h +++ b/js/src/jit/LIR.h @@ -183,11 +183,7 @@ class LAllocation : public TempObject return bits_; } -#ifdef DEBUG const char* toString() const; -#else - const char* toString() const { return "???"; } -#endif bool aliases(const LAllocation& other) const; void dump() const; @@ -580,11 +576,7 @@ class LDefinition } } -#ifdef DEBUG const char* toString() const; -#else - const char* toString() const { return "???"; } -#endif void dump() const; };