Commit a6d091d9 authored by mbrandy's avatar mbrandy Committed by Commit bot

Fix uninitialized variable compiler errors [GCC 4.8.4]

R=svenpanne@chromium.org, michael_dawson@ca.ibm.com
BUG=

Review URL: https://codereview.chromium.org/1156293003

Cr-Commit-Position: refs/heads/master@{#28851}
parent f1457655
......@@ -2216,13 +2216,12 @@ void AstGraphBuilder::VisitThrow(Throw* expr) {
void AstGraphBuilder::VisitProperty(Property* expr) {
Node* value;
Node* value = nullptr;
LhsKind property_kind = Property::GetAssignType(expr);
VectorSlotPair pair = CreateVectorSlotPair(expr->PropertyFeedbackSlot());
switch (property_kind) {
case VARIABLE:
UNREACHABLE();
value = nullptr;
break;
case NAMED_PROPERTY: {
VisitForValue(expr->obj());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment