Permalink
Browse files

rebootstrapped to get the fix from GitHub #729

  • Loading branch information...
1 parent 6fac2cd commit ab4520154ab5b0c14d9e485cac0bb9605a13b8a0 @petdance petdance committed Mar 18, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/ops/core_ops.c
View
@@ -24423,14 +24423,15 @@ static int get_op(PARROT_INTERP, ARGIN(const char *name), int full)
static void hop_init(PARROT_INTERP)
{
op_info_t * const info = core_op_lib.op_info_table;
+ opcode_t i;
/* allocate the storage all in one chunk
* yes, this is profligate, but we can tighten it later */
- HOP * const hop_buckets =
- mem_gc_allocate_n_zeroed_typed(interp, core_op_lib.op_count * 2, HOP );
- HOP *hops = hop_buckets;
+ HOP *hops;
+
+ hop_buckets = mem_gc_allocate_n_zeroed_typed(interp, core_op_lib.op_count * 2, HOP );
+ hops = hop_buckets;
- opcode_t i;
/* store full names */
for (i = 0; i < core_op_lib.op_count; i++) {

0 comments on commit ab45201

Please sign in to comment.