Rupert Daniel
|
108d4e19c0
|
Updated BlockImpTest asserts. Fixes #126
assert now directly compares block self with expected class, avoiding
objc_msgSend.
|
6 years ago |
Rupert Daniel
|
710b2368cc
|
Fixed crash when using self in imp_implementationWithBlock on armv7a
|
6 years ago |
David Chisnall
|
e8e5f1e254
|
Try calling the IMP directly before calling it indirectly in the block-as-method test.
This makes debugging *much* easier!
|
10 years ago |
David Chisnall
|
7eeffe9d09
|
Rewrite the block-to-imp code so that:
- We reuse the memory allocated for blocks
- We no longer have the same physical page mapped write and execute
|
10 years ago |
theraven
|
c346ff1088
|
More header cleanups in the tests.
|
13 years ago |
theraven
|
d1336543d8
|
Build with exceptions (fixes the issue with crashes where +initialize throws)
Start adding the tests to CMake.
|
13 years ago |
theraven
|
f9f2e4e313
|
Added a function for getting the type encoding for a block returned by imp_implementationFromBlock().
|
14 years ago |
theraven
|
a40f9a6e2c
|
Fix the x86-64 non-sret trampoline, implement the sret one.
|
14 years ago |
theraven
|
0a7fdcb69e
|
Add x86 (32-bit) sret trampoline.
|
14 years ago |
theraven
|
43ee8b9819
|
Add initial support for imp_implementationWithBlock() and friends. Currently
only works on x86 and x86-64 and doesn't work with sret functions.
|
14 years ago |