@@ -1287,18 +1287,16 @@ namespace rubinius {
12871287
12881288 Signature sig (ops.context (), " Object" );
12891289 sig << " State" ;
1290- sig << " CallFrame" ;
12911290 sig << " Object" ;
12921291
12931292 Function* func = sig.function (" rbx_create_instance" );
12941293 func->setDoesNotCapture (1 );
12951294 func->setDoesNotCapture (2 );
1296- func->setDoesNotCapture (3 );
12971295 func->setDoesNotAlias (0 );
12981296
1299- Value* call_args[] = { ops.state (), ops. call_frame (), cls };
1297+ Value* call_args[] = { ops.state (), cls };
13001298
1301- CallInst* out = sig.call (" rbx_create_instance" , call_args, 3 ,
1299+ CallInst* out = sig.call (" rbx_create_instance" , call_args, 2 ,
13021300 " instance" , ops.b ());
13031301 // Even though an allocation actually modifies memory etc, it does
13041302 // not have the semantics that it does. Allocation of this object
@@ -1455,20 +1453,16 @@ namespace rubinius {
14551453
14561454 ops.set_block (set);
14571455
1458- Value* call_frame = ops.call_frame ();
1459-
14601456 Signature sig (ops.context (), ops.ObjType );
14611457 sig << ops.StateTy ;
14621458 sig << ops.ObjType ;
1463- sig << " CallFrame" ;
14641459
14651460 Value* call_args[] = {
14661461 ops.state (),
14671462 matchdata,
1468- call_frame
14691463 };
14701464
1471- CallInst* res = sig.call (" rbx_regexp_set_last_match" , call_args, 3 , " set_last_match" , ops.b ());
1465+ CallInst* res = sig.call (" rbx_regexp_set_last_match" , call_args, 2 , " set_last_match" , ops.b ());
14721466 res->setDoesNotThrow ();
14731467
14741468 i.set_result (res);
@@ -1506,14 +1500,12 @@ namespace rubinius {
15061500
15071501 Signature sig (ops.context (), ops.ObjType );
15081502 sig << " State" ;
1509- sig << " CallFrame" ;
15101503 sig << " Object" ;
15111504 sig << ops.context ()->Int32Ty ;
15121505 sig << ops.ObjArrayTy ;
15131506
15141507 Value* call_args[] = {
15151508 ops.state (),
1516- ops.call_frame (),
15171509 i.recv (),
15181510 ops.cint (count),
15191511 ops.stack_objects (count)
@@ -1532,14 +1524,12 @@ namespace rubinius {
15321524
15331525 Signature sig (ops.context (), ops.ObjType );
15341526 sig << " State" ;
1535- sig << " CallFrame" ;
15361527
15371528 Value* call_args[] = {
1538- ops.state (),
1539- ops.call_frame ()
1529+ ops.state ()
15401530 };
15411531
1542- CallInst* res = sig.call (" rbx_variable_scope_of_sender" , call_args, 2 , " result" , ops.b ());
1532+ CallInst* res = sig.call (" rbx_variable_scope_of_sender" , call_args, 1 , " result" , ops.b ());
15431533 res->setDoesNotThrow ();
15441534
15451535 i.set_result (res);
@@ -1553,14 +1543,12 @@ namespace rubinius {
15531543
15541544 Signature sig (ops.context (), ops.ObjType );
15551545 sig << " State" ;
1556- sig << " CallFrame" ;
15571546
15581547 Value* call_args[] = {
1559- ops.state (),
1560- ops.call_frame ()
1548+ ops.state ()
15611549 };
15621550
1563- CallInst* res = sig.call (" rbx_compiledcode_of_sender" , call_args, 2 , " result" , ops.b ());
1551+ CallInst* res = sig.call (" rbx_compiledcode_of_sender" , call_args, 1 , " result" , ops.b ());
15641552 res->setDoesNotThrow ();
15651553
15661554 i.set_result (res);
@@ -1574,14 +1562,12 @@ namespace rubinius {
15741562
15751563 Signature sig (ops.context (), ops.ObjType );
15761564 sig << " State" ;
1577- sig << " CallFrame" ;
15781565
15791566 Value* call_args[] = {
1580- ops.state (),
1581- ops.call_frame ()
1567+ ops.state ()
15821568 };
15831569
1584- CallInst* res = sig.call (" rbx_constant_scope_of_sender" , call_args, 2 , " result" , ops.b ());
1570+ CallInst* res = sig.call (" rbx_constant_scope_of_sender" , call_args, 1 , " result" , ops.b ());
15851571 res->setDoesNotThrow ();
15861572
15871573 i.set_result (res);
@@ -1595,14 +1581,13 @@ namespace rubinius {
15951581
15961582 Signature sig (ops.context (), ops.ObjType );
15971583 sig << " State" ;
1598- sig << " CallFrame" ;
15991584
16001585 Value* call_args[] = {
1601- ops.state (),
1602- ops.call_frame ()
1586+ ops.state ()
16031587 };
16041588
1605- CallInst* res = sig.call (" rbx_location_of_closest_ruby_method" , call_args, 2 , " result" , ops.b ());
1589+ CallInst* res = sig.call (" rbx_location_of_closest_ruby_method" ,
1590+ call_args, 1 , " result" , ops.b ());
16061591 res->setDoesNotThrow ();
16071592
16081593 i.set_result (res);
@@ -1764,11 +1749,6 @@ namespace rubinius {
17641749 sig << " State" ;
17651750 call_args.push_back (ops_.state ());
17661751
1767- if (stub_res.pass_callframe ()) {
1768- sig << " CallFrame" ;
1769- call_args.push_back (ops_.call_frame ());
1770- }
1771-
17721752 sig << " Object" ;
17731753 call_args.push_back (recv ());
17741754
0 commit comments