Branch: Tag:

2001-04-08

2001-04-08 10:11:40 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

pike now avoides saving o->parent when it doesn't have to

Rev: src/bignum.c:1.21
Rev: src/builtin.cmod:1.25
Rev: src/builtin_functions.c:1.358
Rev: src/las.c:1.250
Rev: src/object.c:1.168
Rev: src/program.c:1.310
Rev: src/program.h:1.124
Rev: src/testsuite.in:1.401

1: - test_true([["$Id: testsuite.in,v 1.400 2001/04/07 09:21:23 mirar Exp $"]]); + test_true([["$Id: testsuite.in,v 1.401 2001/04/08 10:11:40 hubbe Exp $"]]);      cond([[all_constants()->_verify_internals]],   [[
1888:   test_define_program(test,[[class TEST { int a() { return 1; } }]])   test_program(inherit test; inherit TEST; )    +  + test_any([[ +  class Foo { }; +  return function_object(object_program(Foo())) == this_program; + ]], 1) +  + test_any([[ +  class Foo { }; +  return function_name(object_program(Foo())); + ]], "Foo") +    test_compile_error(class c { object(Stdio.File) foo=class {} ();})   test_compile_error(class c { object(Stdio.File) foo=class {} ();})   test_compile_error(class c { object(Stdio.File) foo=class {} ();})