From 64a4c20982bb257509263e492947f78b87282f47 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 24 Jun 2011 00:22:58 -0700 Subject: [PATCH] Fix ARM assert (no bug, r=cdleary). --- js/src/methodjit/PolyIC.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/src/methodjit/PolyIC.h b/js/src/methodjit/PolyIC.h index 0c5a0cee5de4..d18ee97e5efd 100644 --- a/js/src/methodjit/PolyIC.h +++ b/js/src/methodjit/PolyIC.h @@ -84,6 +84,11 @@ struct BaseIC : public MacroAssemblerTypedefs { // Slow path stub call. CodeLocationCall slowPathCall; + // Offset from start of stub to jump target of second shape guard as Nitro + // asm data location. This is 0 if there is only one shape guard in the + // last stub. + int32 secondShapeGuard; + // Whether or not the callsite has been hit at least once. bool hit : 1; bool slowCallPatched : 1; @@ -91,11 +96,6 @@ struct BaseIC : public MacroAssemblerTypedefs { // Number of stubs generated. uint32 stubsGenerated : 5; - // Offset from start of stub to jump target of second shape guard as Nitro - // asm data location. This is 0 if there is only one shape guard in the - // last stub. - int32 secondShapeGuard : 11; - // Opcode this was compiled for. JSOp op : 9;