about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorBranimir <branimir@volomp.com>2013-09-25 23:55:38 +0200
committerBranimir <branimir@volomp.com>2013-09-26 11:14:18 +0200
commit56d415aa60b41e171890cb76a323cb95d617b077 (patch)
tree37e9897a8b88371b809fe1a3d226c0e83656c8c0 /src/rt/sync/rust_thread.cpp
parentaf25f58ac3da45899ed65b3af965150c8a90dcda (diff)
downloadrust-56d415aa60b41e171890cb76a323cb95d617b077.tar.gz
rust-56d415aa60b41e171890cb76a323cb95d617b077.zip
fix for issue #9394
    This solves problem of incorrect indexing into vtable
    when method from super trait was called through pointer
    to derived trait.
    Problem was that offset of super trait vtables
    was not calculated at all.
    Now it works, correct offset is calculated by
    traversing all super traits up to super trait
    where method belongs. That is how it is
    intended to work.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions