Skip to content

Instantly share code, notes, and snippets.

@gerdr
Created January 23, 2012 17:43
Show Gist options
  • Save gerdr/1664459 to your computer and use it in GitHub Desktop.
Save gerdr/1664459 to your computer and use it in GitHub Desktop.
change opcode size when changing intval size
diff --git a/config/auto/sizes.pm b/config/auto/sizes.pm
index f42aa8e..30a369d 100644
--- a/config/auto/sizes.pm
+++ b/config/auto/sizes.pm
@@ -265,6 +265,8 @@ END
else {
$typesref->{intval} = $intptr;
$conf->data->set( iv => $intptr );
+ $typesref->{opcode} = $intptr;
+ $conf->data->set( opcode_t => $intptr );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment