Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: src/compiler/js-create-lowering.cc

Issue 2320473003: [turbofan] Typer changes to avoid Type representation dimension (Closed)
Patch Set: A few more changes. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler/js-create-lowering.cc
diff --git a/src/compiler/js-create-lowering.cc b/src/compiler/js-create-lowering.cc
index ba07a586ce478b28092165c4238b7c23d9e330ef..a32153169483ebb33e429f7c82945fc274a4241f 100644
--- a/src/compiler/js-create-lowering.cc
+++ b/src/compiler/js-create-lowering.cc
@@ -617,9 +617,9 @@ Reduction JSCreateLowering::ReduceNewArrayToStubCall(
if_success_packed);
Node* effect_phi = graph()->NewNode(common()->EffectPhi(2), call_holey,
call_packed, merge);
- Node* phi =
- graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2),
- call_holey, call_packed, merge);
+ Node* phi = graph()->NewNode(
+ common()->Phi(MachineRepresentation::kTaggedPointer, 2), call_holey,
mvstanton 2016/09/13 13:03:54 don't bother it is ignored, "current contract" is
+ call_packed, merge);
ReplaceWithValue(node, phi, effect_phi, merge);
return Changed(node);

Powered by Google App Engine
This is Rietveld 408576698