Permalink
Browse files

Toss some unused v-table handler usages.

  • Loading branch information...
jnthn committed Feb 9, 2013
1 parent 5795fdf commit 90e12d2c70e3b216ddcbe34ebf0c8e502fc3bf70
Showing with 0 additions and 18 deletions.
  1. +0 −2 src/QAST/Node.nqp
  2. +0 −2 src/core/NQPCapture.pm
  3. +0 −14 src/pmc/sixmodelobject.pmc
View
@@ -3,8 +3,6 @@ class QAST::Node {
has @!array
is parrot_vtable_handler('get_pmc_keyed_int')
is parrot_vtable_handler('set_pmc_keyed_int')
- is parrot_vtable_handler('exists_keyed_int')
- is parrot_vtable_handler('delete_keyed_int')
is parrot_vtable_handler('unshift_pmc')
is parrot_vtable_handler('push_pmc')
;
View
@@ -2,8 +2,6 @@ my class NQPCapture {
has @!array
is parrot_vtable_handler('get_pmc_keyed_int')
is parrot_vtable_handler('set_pmc_keyed_int')
- is parrot_vtable_handler('exists_keyed_int')
- is parrot_vtable_handler('delete_keyed_int')
is parrot_vtable_handler('unshift_pmc')
is parrot_vtable_handler('push_pmc')
;
View
@@ -532,13 +532,6 @@ pmclass SixModelObject manual_attrs dynpmc group nqp {
Parrot_pcc_set_signature(interp, CURRENT_CONTEXT(interp), old_ctx);
return VTABLE_get_integer_keyed_int(interp, cappy, 0);
}
- else if (vth && vth[PARROT_VTABLE_SLOT_EXISTS_KEYED_INT].class_handle) {
- PMC *val = get_attr(interp, decont,
- vth[PARROT_VTABLE_SLOT_EXISTS_KEYED_INT].class_handle,
- vth[PARROT_VTABLE_SLOT_EXISTS_KEYED_INT].attr_name,
- vth[PARROT_VTABLE_SLOT_EXISTS_KEYED_INT].hint);
- return VTABLE_exists_keyed_int(interp, val, key);
- }
else
return SUPER(key);
}
@@ -616,13 +609,6 @@ pmclass SixModelObject manual_attrs dynpmc group nqp {
cappy = Parrot_pcc_get_signature(interp, CURRENT_CONTEXT(interp));
Parrot_pcc_set_signature(interp, CURRENT_CONTEXT(interp), old_ctx);
}
- else if (vth && vth[PARROT_VTABLE_SLOT_DELETE_KEYED_INT].class_handle) {
- PMC *val = get_attr(interp, decont,
- vth[PARROT_VTABLE_SLOT_DELETE_KEYED_INT].class_handle,
- vth[PARROT_VTABLE_SLOT_DELETE_KEYED_INT].attr_name,
- vth[PARROT_VTABLE_SLOT_DELETE_KEYED_INT].hint);
- VTABLE_delete_keyed_int(interp, val, key);
- }
else
SUPER(key);
}

0 comments on commit 90e12d2

Please sign in to comment.