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

Unified Diff: src/compiler/instruction.h

Issue 2258073002: [Turbofan]: Use new MachineTypes in access-builder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 4 years, 4 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/instruction.h
diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h
index b5aea707d2e3ac21ff6f5f9db52faa06e22d9157..1139f6ebbbd6048576176f9298add7847031c421 100644
--- a/src/compiler/instruction.h
+++ b/src/compiler/instruction.h
@@ -1344,7 +1344,9 @@ class InstructionSequence final : public ZoneObject {
bool IsReference(int virtual_register) const {
return GetRepresentation(virtual_register) ==
- MachineRepresentation::kTagged;
+ MachineRepresentation::kTagged ||
+ GetRepresentation(virtual_register) ==
+ MachineRepresentation::kTaggedPointer;
}
bool IsFP(int virtual_register) const {
return IsFloatingPoint(GetRepresentation(virtual_register));

Powered by Google App Engine
This is Rietveld 408576698