Skip to content

Commit

Permalink
Revert of fix bad rebase in r27966 (patchset #1 id:1 of https://coder…
Browse files Browse the repository at this point in the history
…eview.chromium.org/1083923005/)

Reason for revert:
Needed to revert https://chromium.googlesource.com/v8/v8/+/7bcc3d10835105fadc8ecf42a877dec479f0f80d

Original issue's description:
> fix bad rebase in r27966
>
> TBR=verwaest@chromium.org
>
> BUG=

TBR=verwaest@chromium.org,dcarney@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=

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

Cr-Commit-Position: refs/heads/master@{#27981}
  • Loading branch information
mi-ac authored and Commit bot committed Apr 21, 2015
1 parent cfe7169 commit 3a67685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hydrogen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6595,6 +6595,7 @@ void HOptimizedGraphBuilder::HandleGlobalVariableAssignment(
GlobalPropertyAccess type = LookupGlobalProperty(var, &it, STORE);
if (type == kUseCell) {
Handle<PropertyCell> cell = it.GetPropertyCell();
top_info()->dependencies()->AssumePropertyCell(cell);
auto cell_type = it.property_details().cell_type();
if (cell_type == PropertyCellType::kConstant ||
cell_type == PropertyCellType::kUndefined) {
Expand Down Expand Up @@ -6644,7 +6645,6 @@ void HOptimizedGraphBuilder::HandleGlobalVariableAssignment(
}
}
}
top_info()->dependencies()->AssumePropertyCell(cell);
HInstruction* instr = Add<HStoreNamedField>(cell_constant, access, value);
instr->ClearChangesFlag(kInobjectFields);
instr->SetChangesFlag(kGlobalVars);
Expand Down

0 comments on commit 3a67685

Please sign in to comment.