ericwa
317e951b0c
libobjc2: some changes needed to build on OS X. CDECL macro to prefix symbol names in assembly code with an underscore, macros to omit the .type and .section derictives which are unsupported on OS X, and also a linker flag to make weak symbols work
2013-07-08 09:07:37 +00:00
theraven
f50bc6cf33
Added support for tracing message sends to the runtime.
...
Currently x86-64 only.
2013-06-29 11:05:31 +00:00
theraven
d80689e3e4
Remove the test for whether the uninstalled dtable is present from
...
objc_msgSend(). If the class does have the uninstalled dtable, then every
method will be the nil slot and so, after navigating the dtable we will
discover that it is nil and go into the slow path. The cost of this change is
a slight slowdown in the first message sent to every class. The benefit is
that every subsequent message send needs one fewer memory access and one fewer
conditional jump.
2013-04-12 10:35:51 +00:00
theraven
3fbdbe4d02
Work around a bug in clang 3.1 that declares objc_msgSend_stret as a builtin
...
with the wrong signature.
2013-01-29 13:07:04 +00:00
theraven
aece370989
Fix objc_msgSend_stret() when the receiver is a small object.
2011-11-18 19:57:00 +00:00
theraven
855f2601c9
Fix some corner cases where exceptions are thrown through +initialize.
2011-10-25 13:32:47 +00:00
theraven
949469677e
Fpret stuff (not very tested).
2011-10-25 12:18:58 +00:00
theraven
224de356cb
Save %xmm when it can be used for args, put the args in the right order.
2011-10-24 14:09:54 +00:00
theraven
1e3343c149
And the same x86-64 / ARM (need testing!)
2011-10-23 19:06:06 +00:00
theraven
fb1d76ceaa
Fix typo.
2011-10-23 17:19:48 +00:00
theraven
2e73765ffa
Added some experimental stuff.
2011-10-22 20:24:34 +00:00