Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix how we include the serialized data into the PIR. Makes the deseri…
…alizer consider it non-corrupt and start deserializing it, at least.
  • Loading branch information
jnthn committed Feb 13, 2012
1 parent b61b053 commit dfdba67
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/HLL/World.pm
Expand Up @@ -259,7 +259,10 @@ class HLL::World {
# Overall deserialization PAST.
PAST::Op.new(
:pirop('nqp_deserialize_sc__vSPPP'),
$serialized,
PAST::Op.new( :inline(
' $S0 = binary:"' ~ pir::escape__SS($serialized) ~ '"',
' %r = box $S0'
) ),
PAST::Op.new( :pirop('nqp_create_sc Ps'), 'XXX-' ~ $!handle ),
$sh_past, $cr_past)
}
Expand Down

0 comments on commit dfdba67

Please sign in to comment.