ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Faster/Faster.pm
(Generate patch)

Comparing Faster/Faster.pm (file contents):
Revision 1.34 by root, Wed Mar 15 02:32:27 2006 UTC vs.
Revision 1.36 by root, Sat Feb 21 08:27:38 2009 UTC

56use Digest::MD5 (); 56use Digest::MD5 ();
57use Storable (); 57use Storable ();
58use Fcntl (); 58use Fcntl ();
59 59
60BEGIN { 60BEGIN {
61 our $VERSION = '0.01'; 61 our $VERSION = '0.1';
62 62
63 require XSLoader; 63 require XSLoader;
64 XSLoader::load __PACKAGE__, $VERSION; 64 XSLoader::load __PACKAGE__, $VERSION;
65} 65}
66 66
509 } elsif (my $loop = $insn->{loop}) { 509 } elsif (my $loop = $insn->{loop}) {
510 # less common case: maybe break to some outer loop 510 # less common case: maybe break to some outer loop
511 $source .= " return nextop;\n"; 511 $source .= " return nextop;\n";
512 # todo: walk stack up 512 # todo: walk stack up
513 } else { 513 } else {
514 # fuck yourself for writing such hacks
514 $source .= " return nextop;\n"; 515 $source .= " return nextop;\n";
515 } 516 }
516} 517}
517 518
518sub op_next { 519sub op_next {
521 522
522sub op_last { 523sub op_last {
523 out_break_op 1; 524 out_break_op 1;
524} 525}
525 526
527# TODO: does not seem to work
526sub xop_redo { 528#sub op_redo {
527 out_break_op 2; 529# out_break_op 2;
528} 530#}
529 531
530sub cv2c { 532sub cv2c {
531 my ($cv) = @_; 533 my ($cv) = @_;
532 534
533 local @ops; 535 local @ops;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines