about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2014-02-12 23:53:52 -0800
committerSteven Fackler <sfackler@gmail.com>2014-02-13 21:53:06 -0800
commit3c02749ad873af24c5865e105bd1e6ded1b71409 (patch)
tree3cb0599b29175e13b88f37c2dc4264f1beac5c07 /src/rustllvm/ExecutionEngineWrapper.cpp
parent68129d299b54806b6aa4ec9f3a0755854db7b491 (diff)
downloadrust-3c02749ad873af24c5865e105bd1e6ded1b71409.tar.gz
rust-3c02749ad873af24c5865e105bd1e6ded1b71409.zip
Tweak ItemDecorator API
The old method of building up a list of items and threading it through
all of the decorators was unwieldy and not really scalable as
non-deriving ItemDecorators become possible. The API is now that the
decorator gets an immutable reference to the item it's attached to, and
a callback that it can pass new items to. If we want to add syntax
extensions that can modify the item they're attached to, we can add that
later, but I think it'll have to be separate from ItemDecorator to avoid
strange ordering issues.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions