Revision: 24588
Author: [email protected]
Date: Tue Oct 14 08:59:27 2014 UTC
Log: Add control input to LoadField.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/649183003
https://code.google.com/p/v8/source/detail?r=24588
Modified:
/branches/bleeding_edge/src/compiler/js-inlining.cc
/branches/bleeding_edge/src/compiler/operator-properties-inl.h
/branches/bleeding_edge/src/compiler/simplified-lowering.cc
=======================================
--- /branches/bleeding_edge/src/compiler/js-inlining.cc Mon Sep 29 13:37:58
2014 UTC
+++ /branches/bleeding_edge/src/compiler/js-inlining.cc Tue Oct 14 08:59:27
2014 UTC
@@ -241,7 +241,7 @@
Node* context = jsgraph->graph()->NewNode(
simplified.LoadField(AccessBuilder::ForJSFunctionContext()),
NodeProperties::GetValueInput(call, 0),
- NodeProperties::GetEffectInput(call));
+ NodeProperties::GetEffectInput(call), control);
// Context is last argument.
int inlinee_context_index = static_cast<int>(total_parameters()) - 1;
=======================================
--- /branches/bleeding_edge/src/compiler/operator-properties-inl.h Wed Oct
1 11:08:37 2014 UTC
+++ /branches/bleeding_edge/src/compiler/operator-properties-inl.h Tue Oct
14 08:59:27 2014 UTC
@@ -118,6 +118,7 @@
case IrOpcode::kEffectPhi:
case IrOpcode::kLoad:
case IrOpcode::kLoadElement:
+ case IrOpcode::kLoadField:
return 1;
#define OPCODE_CASE(x) case IrOpcode::k##x:
CONTROL_OP_LIST(OPCODE_CASE)
=======================================
--- /branches/bleeding_edge/src/compiler/simplified-lowering.cc Wed Oct 8
16:01:18 2014 UTC
+++ /branches/bleeding_edge/src/compiler/simplified-lowering.cc Tue Oct 14
08:59:27 2014 UTC
@@ -947,7 +947,6 @@
node->set_op(machine()->Load(access.machine_type));
Node* offset = jsgraph()->Int32Constant(access.offset - access.tag());
node->InsertInput(zone(), 1, offset);
- node->AppendInput(zone(), graph()->start());
}
--
--
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.