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

Unified Diff: src/compiler/linkage.cc

Issue 2250863004: Fix machine types in GetRuntimeCallDescriptor (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | 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 a2f8b10ea943d13017ce926f2779aaf99d227c3f..58f9826369d495354c7c88719895d1d529e88da3 100644
--- a/src/compiler/linkage.cc
+++ b/src/compiler/linkage.cc
@@ -252,11 +252,11 @@ CallDescriptor* Linkage::GetRuntimeCallDescriptor(
}
// Add runtime function itself.
locations.AddParam(
- regloc(kRuntimeCallFunctionRegister, MachineType::AnyTagged()));
+ regloc(kRuntimeCallFunctionRegister, MachineType::Pointer()));
// Add runtime call argument count.
locations.AddParam(
- regloc(kRuntimeCallArgCountRegister, MachineType::AnyTagged()));
+ regloc(kRuntimeCallArgCountRegister, MachineType::Int32()));
// Add context.
locations.AddParam(regloc(kContextRegister, MachineType::AnyTagged()));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698