aboutsummaryrefslogtreecommitdiff
path: root/tools/autodebugger_js.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-07 16:48:12 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-07 16:48:12 -0700
commit272e961c063ad4fdb44e61babdfbb0bee200752b (patch)
treecb5f090f03833247edca5e6b26152c4f0fe1c97b /tools/autodebugger_js.py
parent6dff9374e3cb873968f9a58f80b625e7f256d6d9 (diff)
rename __stackbase__ to sp
Diffstat (limited to 'tools/autodebugger_js.py')
-rw-r--r--tools/autodebugger_js.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/autodebugger_js.py b/tools/autodebugger_js.py
index 3f8818c6..1de837f0 100644
--- a/tools/autodebugger_js.py
+++ b/tools/autodebugger_js.py
@@ -33,7 +33,7 @@ for i in range(len(lines)):
(' else' not in lines[i-1] or '{' in lines[i-1]) and \
(' else' not in lines[i+1] or '{' in lines[i+1]):
var = m.groups(1)[0].rstrip().split(' ')[-1]
- if 'STACKTOP' not in lines[i] and 'stackBase' not in lines[i]:
+ if 'STACKTOP' not in lines[i] and 'sp' not in lines[i]:
#lines[i] += ''' print("[%4d] %s = " + %s);''' % (i+1, var, var)
lines[i] += ''' print("%s = " + %s);''' % (var, var)
m = re.match('^ +HEAP.*$', lines[i])