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

Unified Diff: src/compiler/code-assembler.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/code-assembler.cc
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc
index 7f8e2ffad0e5f4f1a97ed96db9e0adf542aab44f..d25ac15a0e9311412737072c7cfc4cd195a0fb4d 100644
--- a/src/compiler/code-assembler.cc
+++ b/src/compiler/code-assembler.cc
@@ -302,7 +302,8 @@ Node* CodeAssembler::StoreRoot(Heap::RootListIndex root_index, Node* value) {
DCHECK(Heap::RootCanBeWrittenAfterInitialization(root_index));
Node* roots_array_start =
ExternalConstant(ExternalReference::roots_array_start(isolate()));
- return StoreNoWriteBarrier(MachineRepresentation::kTagged, roots_array_start,
+ return StoreNoWriteBarrier(MachineRepresentation::kTaggedPointer,
+ roots_array_start,
IntPtrConstant(root_index * kPointerSize), value);
}

Powered by Google App Engine
This is Rietveld 408576698