Author: Armin Rigo <[email protected]>
Branch: improve-vmprof-testing
Changeset: r86068:3b3cad7cd230
Date: 2016-08-07 20:00 +0200
http://bitbucket.org/pypy/pypy/changeset/3b3cad7cd230/
Log: clean-ups
diff --git a/rpython/jit/metainterp/blackhole.py
b/rpython/jit/metainterp/blackhole.py
--- a/rpython/jit/metainterp/blackhole.py
+++ b/rpython/jit/metainterp/blackhole.py
@@ -376,8 +376,8 @@
self.position = target
return
if opcode == self.op_rvmprof_code:
- # do the 'jit_rvmprof_code(1)' for rvmprof, but then
- # continue popping frames. Decode jit_rvmprof_code
+ # call the 'jit_rvmprof_code(1)' for rvmprof, but then
+ # continue popping frames. Decode the 'rvmprof_code' insn
# manually here.
from rpython.rlib.rvmprof import cintf
arg1 = self.registers_i[ord(code[position + 1])]
diff --git a/rpython/jit/metainterp/pyjitpl.py
b/rpython/jit/metainterp/pyjitpl.py
--- a/rpython/jit/metainterp/pyjitpl.py
+++ b/rpython/jit/metainterp/pyjitpl.py
@@ -74,8 +74,6 @@
self.parent_snapshot = None
# counter for unrolling inlined loops
self.unroll_iterations = 1
- # rvmprof
- self.rvmprof_unique_id = -1
@specialize.arg(3)
def copy_constants(self, registers, constants, ConstClass):
@@ -2080,8 +2078,8 @@
frame.pc = target
raise ChangeFrame
if opcode == self.staticdata.op_rvmprof_code:
- # do the 'jit_rvmprof_code(1)' for rvmprof, but then
- # continue popping frames. Decode jit_rvmprof_code
+ # call the 'jit_rvmprof_code(1)' for rvmprof, but then
+ # continue popping frames. Decode the 'rvmprof_code' insn
# manually here.
from rpython.rlib.rvmprof import cintf
arg1 = frame.registers_i[ord(code[position + 1])].getint()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit