From bdc58929ee87961e3326b272c9bb96a244924424 Mon Sep 17 00:00:00 2001 From: "brendan@mozilla.org" Date: Thu, 13 Mar 2008 01:00:20 -0700 Subject: [PATCH] Fix ASSERT_VALID_PROPERTY_CACHE_HIT bustage (NPOTB). --- js/src/jsinterp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/jsinterp.c b/js/src/jsinterp.c index cd78144def3a..18a6d15fb215 100644 --- a/js/src/jsinterp.c +++ b/js/src/jsinterp.c @@ -3252,10 +3252,10 @@ interrupt: JSScopeProperty *sprop_; \ uint32 sample_ = rt->gcNumber; \ if (pcoff >= 0) \ - GET_ATOM_FROM_BYTECODE(script, pc, pcoff, atom_); \ + GET_ATOM_FROM_BYTECODE(script, regs.pc, pcoff, atom_); \ else \ atom_ = rt->atomState.lengthAtom; \ - if (JOF_OPMODE(*pc) == JOF_NAME) { \ + if (JOF_OPMODE(*regs.pc) == JOF_NAME) { \ ok = js_FindProperty(cx, ATOM_TO_JSID(atom_), &obj_, &pobj_, \ &prop_); \ } else { \