No Bug - Fix equality in debug mode. r=me a=bustage CLOSED TREE
authorBenjamin Peterson <benjamin@python.org>
Sat, 26 Oct 2013 13:12:21 -0400
changeset 166164 5ede3b4f1f68ee2aae759381f43812f30ea09355
parent 166163 fa5301bdb5aca2ec846e3335b3e7be676741cbb2
child 166165 1ef41c221d6414365c74ec1603c8cce52bfcd31a
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, bustage
milestone27.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
No Bug - Fix equality in debug mode. r=me a=bustage CLOSED TREE
js/src/jit/BaselineIC.cpp
--- a/js/src/jit/BaselineIC.cpp
+++ b/js/src/jit/BaselineIC.cpp
@@ -4137,17 +4137,17 @@ ICGetElemNativeCompiler::generateStubCod
         leaveStubFrame(masm);
         masm.moveValue(JSReturnOperand, R1);
 
         // Unstow R0
         EmitUnstowICValues(masm, 1);
 
         // Extract string from R1 again.
         DebugOnly<Register> strExtract2 = masm.extractString(R1, ExtractTemp1);
-        JS_ASSERT(strExtract2 == strExtract);
+        JS_ASSERT(Register(strExtract2) == strExtract);
 
         masm.bind(&skipAtomize);
     }
 
     // Since this stub sometimes enter a stub frame, we manually set this to true (lie).
     entersStubFrame_ = true;
 
     // Key has been atomized if necessary.  Do identity check on string pointer.