- Timestamp:
- 11/01/08 22:53:00 (2 months ago)
- Files:
-
- 1 modified
-
v6/smop/src/s1p_attribute.sm0p (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
v6/smop/src/s1p_attribute.sm0p
r22512 r22849 37 37 } else if (identifier == SMOP__ID__create_container) { 38 38 39 SMOP__Object* frame;40 39 SMOP__Object* continuation = SMOP_DISPATCH(interpreter, SMOP_RI(interpreter), 41 40 SMOP__ID__continuation, 42 41 SMOP_REFERENCE(interpreter,interpreter)); 43 42 44 frame = q:v6-sm0p { 45 return $invocant.container_type.FETCH().new(); 43 SMOP__Object* mold = q:m0ld { 44 my $interpreter = ¢interpreter; 45 my $invocant = ¢invocant; 46 my $continuation = ¢continuation; 47 my $container_type_scalar = $invocant."container_type"(); 48 my $container_type = $container_type_scalar."FETCH"(); 49 my $new = $container_type."new"(); 50 my $void = $continuation."setr"($new); 51 $void = $interpreter."goto"($continuation); 46 52 }; 53 SMOP__Object* frame = SMOP__Mold__Frame_create(interpreter,mold); 54 SMOP_RELEASE(interpreter,continuation); 47 55 48 56 SMOP_DISPATCH(interpreter, SMOP_RI(interpreter),
