Author: fijal
Branch: faster-traceback
Changeset: r83413:02b7658fdc94
Date: 2016-03-29 08:58 +0200
http://bitbucket.org/pypy/pypy/changeset/02b7658fdc94/
Log: fixes
diff --git a/rpython/jit/metainterp/opencoder.py
b/rpython/jit/metainterp/opencoder.py
--- a/rpython/jit/metainterp/opencoder.py
+++ b/rpython/jit/metainterp/opencoder.py
@@ -354,7 +354,7 @@
# don't intern float constants
self._consts_float += 1
v = (len(self._floats) << 1) | 1
- self._floats.append(box.getfloat())
+ self._floats.append(box.getfloatstorage())
return tag(TAGCONSTOTHER, v)
else:
self._consts_ptr += 1
diff --git a/rpython/rlib/rvmprof/cintf.py b/rpython/rlib/rvmprof/cintf.py
--- a/rpython/rlib/rvmprof/cintf.py
+++ b/rpython/rlib/rvmprof/cintf.py
@@ -56,7 +56,7 @@
compilation_info=eci,
_nowrapper=True)
vmprof_get_stack_trace_default = rffi.llexternal(
- "vmprof_get_stack_trace_default",
+ "get_stack_trace_default",
[rffi.CArrayPtr(lltype.Signed), rffi.INT],
rffi.INT, compilation_info=eci, releasegil=False)
return CInterface(locals())
diff --git a/rpython/rlib/rvmprof/src/vmprof_common.h
b/rpython/rlib/rvmprof/src/vmprof_common.h
--- a/rpython/rlib/rvmprof/src/vmprof_common.h
+++ b/rpython/rlib/rvmprof/src/vmprof_common.h
@@ -120,7 +120,7 @@
}
#endif
-static int get_stack_trace_default(intptr_t *result, int max_depth)
+int get_stack_trace_default(intptr_t *result, int max_depth)
{
return get_stack_trace(get_vmprof_stack(), result, max_depth, 0);
}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit