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

Unified Diff: src/compiler/linkage.cc

Issue 1365073002: Revert of Remove register index/code indirection (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/compiler/instruction-selector-impl.h ('k') | src/compiler/pipeline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/linkage.cc
diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc
index fd8aedc15da063fb5b8c940ee4eab62c520c2c15..1def1d99b58f6abb8e53792d7c07a1d4409296c5 100644
--- a/src/compiler/linkage.cc
+++ b/src/compiler/linkage.cc
@@ -18,7 +18,7 @@
namespace {
LinkageLocation regloc(Register reg) {
- return LinkageLocation::ForRegister(reg.code());
+ return LinkageLocation::ForRegister(Register::ToAllocationIndex(reg));
}
« no previous file with comments | « src/compiler/instruction-selector-impl.h ('k') | src/compiler/pipeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698