https://codereview.chromium.org/1291693004/diff/140001/src/compiler/bytecode-graph-builder.cc
File src/compiler/bytecode-graph-builder.cc (right):
https://codereview.chromium.org/1291693004/diff/140001/src/compiler/bytecode-graph-builder.cc#newcode48
src/compiler/bytecode-graph-builder.cc:48: // TODO(oth): receiver
On 2015/09/03 12:52:07, Michael Starzinger wrote:
On 2015/09/03 12:41:57, rmcilroy wrote:
> I think the receiver is just Parameter(-1), so you could probably
push that
as:
>
> const Operator* op = common()->Parameter(-1, nullptr);
> Node* parameter = builder->graph()->NewNode(op,
builder->graph()->start());
> values()->push_back(parameter);
>
> if you want it here.
Please use Linkage::kJSFunctionCallClosureParamIndex in that case!
Ah, sorry, this is about reveiver, not callee ... hmm ... can we in that
case add kInterpreterReceiverParamIndex to Linkage? Magic -1 is scarry.
:/
https://codereview.chromium.org/1291693004/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.