summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJosh Blum2012-11-11 00:02:43 -0800
committerJosh Blum2012-11-11 00:02:43 -0800
commit6f92f2e145b4cc88b91613c170409ee1b6a27a67 (patch)
tree22f2147c09afd82819e67197a79745b46cdc60fb /lib
parent5799489a91e49987d398b27203410bd42720e154 (diff)
downloadsandhi-6f92f2e145b4cc88b91613c170409ee1b6a27a67.tar.gz
sandhi-6f92f2e145b4cc88b91613c170409ee1b6a27a67.tar.bz2
sandhi-6f92f2e145b4cc88b91613c170409ee1b6a27a67.zip
restored reserve hint for upstream allocator
Diffstat (limited to 'lib')
-rw-r--r--lib/block_handlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_handlers.cpp b/lib/block_handlers.cpp
index a33ea60..7e07362 100644
--- a/lib/block_handlers.cpp
+++ b/lib/block_handlers.cpp
@@ -54,7 +54,7 @@ void BlockActor::handle_top_token(
//tell the upstream about the input requirements
OutputHintMessage output_hints;
output_hints.history_bytes = this->input_configs[i].lookahead_items*this->input_items_sizes[i];
- output_hints.reserve_bytes = 1; //TODO what do we want here, and so we like these hints at all?
+ output_hints.reserve_bytes = this->input_configs[i].reserve_items*this->input_items_sizes[i];
output_hints.token = this->input_tokens[i];
this->post_upstream(i, output_hints);