I hereby claim:
- I am mattdaw on github.
- I am mattdaw (https://keybase.io/mattdaw) on keybase.
- I have a public key whose fingerprint is AA2A 4FF1 CA7F E8FD 2285 97D0 2E98 525F 0C16 951C
To claim this, I am signing this object:
From 22a82748695ee808264d7a39c7b55092f548f346 Mon Sep 17 00:00:00 2001 | |
From: Matt Daw <matt@matt-daws-macbook-pro.local> | |
Date: Tue, 29 Dec 2009 20:26:22 -0500 | |
Subject: [PATCH] Fixes for Struct#eql? and Struct#new. | |
* In Struct#new raise TypeError if objects aren't symbols or strings. | |
* In Struct#eql? do object comparison rather than ==, and use to_a on both sides to confirm equality of values. | |
--- | |
kernel/common/struct.rb | 17 +++++++++++------ |
From d40c40cd45ee504e8c056e3adc2e56557298c3b3 Mon Sep 17 00:00:00 2001 | |
From: Matt Daw <matt@matt-daws-macbook-pro.local> | |
Date: Wed, 30 Dec 2009 13:01:26 -0500 | |
Subject: [PATCH] Implement Array#permutation. | |
--- | |
kernel/common/array.rb | 83 ++++++++++++++++++++++++ | |
spec/tags/ruby/core/array/permutation_tags.txt | 10 --- | |
2 files changed, 83 insertions(+), 10 deletions(-) | |
delete mode 100644 spec/tags/ruby/core/array/permutation_tags.txt |
matt-daws-macbook-pro:trunk matt$ gdb --args ~/dev/rubinius/bin/rbx -Xint -S test/unit/shot_test.rb | |
GNU gdb 6.3.50-20050815 (Apple version gdb-1346) (Fri Sep 18 20:40:51 UTC 2009) | |
Copyright 2004 Free Software Foundation, Inc. | |
GDB is free software, covered by the GNU General Public License, and you are | |
welcome to change it and/or distribute copies of it under certain conditions. | |
Type "show copying" to see the conditions. | |
There is absolutely no warranty for GDB. Type "show warranty" for details. | |
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done | |
(gdb) run |
matt-daws-macbook-pro:trunk matt$ gdb --args ~/dev/rubinius/bin/rbx -Xconfig.print -Xint test/unit/shot_test.rb | |
GNU gdb 6.3.50-20050815 (Apple version gdb-1346) (Fri Sep 18 20:40:51 UTC 2009) | |
Copyright 2004 Free Software Foundation, Inc. | |
GDB is free software, covered by the GNU General Public License, and you are | |
welcome to change it and/or distribute copies of it under certain conditions. | |
Type "show copying" to see the conditions. | |
There is absolutely no warranty for GDB. Type "show warranty" for details. | |
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done | |
(gdb) run |
|||| NOT inlining: find_entry. Cache contains 3 entries | |
|||| class: Hash 1960994 | |
|||| class: ShotgunConfig 806 | |
|||| class: OptionParser::OptionMap 1 | |
|||| inlining: read to '@value' on Hash::Entry in #[] (packed index: 2) | |
|||| NOT inlining: default. Cache contains 3 entries | |
|||| class: Hash 451178 | |
|||| class: ShotgunConfig 30 | |
|||| class: OptionParser::OptionMap 1 | |
||| inlining: read to '@type' on ActiveRecord::ConnectionAdapters::Column in #clear_empty_attrs (packed index: 2) |
JIT: target search from each | |
JIT: queueing method: add_ivars | |
JIT: target search from each | |
JIT: queueing method: find_all | |
JIT: compiling Module#add_ivars (1299136116.815969) | |
JIT: target search from each | |
JIT: queueing method: each | |
| inlining: Module#=== into add_ivars. generic primitive: jit_stub_module_case_compare | |
| inlining: read to '@literals' on Rubinius::CompiledMethod in #add_ivars (slot: 15) | |
| inlining: Enumerable#find_all into add_ivars (Rubinius::Tuple) (w/ inline block) |
Output is 1-8159 then: | |
LLVM ERROR: Cannot yet select: 0x103056610: f64 = sint_to_fp 0x1030add10 [ORD=13298] [ID=6] | |
0x1030add10: i64 = srl 0x1030af110, 0x1030ad110 [ORD=13297] [ID=5] | |
0x1030af110: i64,ch = CopyFromReg 0x102a8bce8, 0x1030e4b10 [ORD=13296] [ID=4] | |
0x102a8bce8: ch = EntryToken [ORD=13296] [ID=0] | |
0x1030e4b10: i64 = Register %reg16415 [ORD=13296] [ID=1] | |
0x1030ad110: i8 = Constant<1> [ORD=13297] [ID=2] |
I hereby claim:
To claim this, I am signing this object: