--- Log opened Sat May 23 00:00:33 2009 11:54 < tgrabiec> penberg: there is one problem with basic block splitting inside checkcast. basic blocks are designed to group bytecode instructions so they have 'start' and 'end' bytecode offsets and find_bb returns basic block based on bytecode offset. now if basic block were split inside one instruction (eg. checkcast) then find_bb would be broken because both basic blocks (the main one and the side one) would contain the same instruction 12:46 -!- penberg_home [n=penberg@cs149038.pp.htv.fi] has joined #jato 12:46 < penberg_home> vegard: http://github.com/vegard/jato/commit/20afe03dbc8f95f8f595226949a0e531bc6ba0cf 12:46 < penberg_home> but why? 12:47 < penberg_home> tgrabiec: yeah, seems splitting would be problematic 12:47 < penberg_home> dunno, perhaps INSN_CHECKCAST makes most sense then hmm 12:47 < penberg_home> vegard: there's a patch like that in master already! 12:47 < penberg_home> well 12:47 < penberg_home> I am off 12:48 -!- penberg_home [n=penberg@cs149038.pp.htv.fi] has quit [Client Quit] 12:51 < vegard> penberg: yes, I know :) 12:51 < vegard> you were too slow :-P 12:51 < vegard> penberg: I think your solution was better. 12:52 < vegard> but: I think it's not good to apply the same patch to two trees, if they are to be merged later. 12:56 < vegard> not that we made it any better by doing what we did... ;) 14:24 < vegard> penberg: btw, using dlopen() won't work. 14:24 < vegard> for the simple reason that it relocates the file you're loading 14:24 < vegard> and it also refuses to load just "debug" information or symbol tables 15:08 < vegard> yesss, invokevirtual worrrrrrrksssssss... 15:08 < vegard> which means: all jvm.* tests pass with cafebabe 15:10 < tgrabiec> vegard: splendid :) 15:10 < vegard> it was a stupid mistake on my part that held me back for a long time 15:11 < vegard> so when looking up functions in the class file, I was using strncmp() (because the strings in the file are not null-terminated) 15:11 < vegard> so this caused testArg() to resolve to test() -- oops. 16:22 < vegard> hm, was it true that && operator doesn't work? 16:27 < tgrabiec> vegard: can you paste an example? it seems to work for me 16:41 < vegard> http://pastebin.com/m5b927445 16:41 < vegard> this is in java.lang.String and it crashes :) 16:43 < vegard> but I think it's the s.value.length that crashes, not the &&. 17:06 < tgrabiec> vegard: i've just pulled latest master and i get the following error when executing `make regression`: 17:06 < tgrabiec> make.original: *** Brak reguĊ‚ do zrobienia obiektu `regression/jato/internal/VM. 17:06 < tgrabiec> which says: "make.original: *** no rules to make object `regression/jato/internal/VM." 17:07 < tgrabiec> can you tell what's wrong ? 17:11 < tgrabiec> probably "regression/jato/internal/VM.class" is missing in master tree? 17:11 < vegard> hm 17:11 < vegard> do you have VM.java, though? 17:12 < tgrabiec> where ? 17:13 < vegard> regression/jato/internal/VM.java 17:13 < tgrabiec> there is no regression/jato dir 17:13 < vegard> ah 17:14 < vegard> yes, looks like pekka forgot to add it 17:14 < vegard> http://github.com/penberg/jato/commit/8e77031496c368071135133da3758cd99bd69a6a 17:16 < vegard> this should probably be enough: http://pastebin.com/m2e26c8a 17:17 < tgrabiec> vegard: thanks 17:57 < vegard> tgrabiec: you are polish? 17:57 < tgrabiec> vegard: yes 17:58 < vegard> I have been in poland 17:58 < vegard> nowy sacz, I think, without the diacritic marks 17:59 < tgrabiec> i know where it is. it's in the mountain region isn't it ? 18:00 < tgrabiec> what were you doing there ? 18:00 < tgrabiec> i guess it's not the most atractive place for tourists 18:00 < vegard> I don't know. I didn't see mountains there. 18:01 < vegard> I was participating in a competition, the IOI 18:02 < tgrabiec> och, nice 18:03 < vegard> I think it was very nice there 18:03 < vegard> most of all, a lot of friendly people 18:03 < tgrabiec> i've never been to nowy sacz, but probably :) 18:04 < tgrabiec> i'm glad to hear that 18:04 < vegard> in particular, I remember some guys who drove us to the hotel from the university, in the middle of the night 18:05 < vegard> and the receptionists invited us (me and a friend) into their private room. 18:06 < vegard> it was quite nice. and they taught us some polish words, not that I remember much now :) 18:09 < tgrabiec> so, are there any stereotypes about Poles in Norway? 18:11 < vegard> hm 18:12 < vegard> yes 18:14 < vegard> or -- I'm not sure if this is exactly what you mean 18:14 < vegard> it's not very nice. I think that a lot of people only see poles as cheap workers (mostly carpenters) 18:15 < tgrabiec> i could expect that :) 18:19 < vegard> but anyway, I think it is better now than it used to be --- Log closed Sun May 24 00:00:33 2009