[svn:parrot] r48005 - branches/gsoc_instrument/src/dynpmc
khairul at svn.parrot.org
khairul at svn.parrot.org
Mon Jul 5 07:35:02 UTC 2010
Author: khairul
Date: Mon Jul 5 07:35:02 2010
New Revision: 48005
URL: https://trac.parrot.org/parrot/changeset/48005
Log:
Removed debug statements.
Modified:
branches/gsoc_instrument/src/dynpmc/instrumentvtable.pmc
Modified: branches/gsoc_instrument/src/dynpmc/instrumentvtable.pmc
==============================================================================
--- branches/gsoc_instrument/src/dynpmc/instrumentvtable.pmc Mon Jul 5 07:26:36 2010 (r48004)
+++ branches/gsoc_instrument/src/dynpmc/instrumentvtable.pmc Mon Jul 5 07:35:02 2010 (r48005)
@@ -307,8 +307,10 @@
/* Modify the entry. */
instr = (size_t **) parrot_hash_get(INTERP, attr->instrumented_hash, key);
stub = (size_t *) parrot_hash_get(INTERP, Instrument_Vtable_Stubs, key);
- printf("instr, stub: %p, %p\n", instr, stub);
- printf("Meh: %p\n", attr->instrumented_vtable);
+ if (instr == NULL || stub == NULL) {
+ Parrot_ex_throw_from_c_args(INTERP, NULL, 1,
+ "Unknown VTABLE entry: %Ss", vtable_str);
+ }
*instr = stub;
}
More information about the parrot-commits
mailing list