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

Unified Diff: src/deoptimizer.cc

Issue 2092413002: [RegisterConfiguration] Streamline access to arch defaults, simplify Registers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compile. Created 4 years, 6 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/crankshaft/x87/lithium-gap-resolver-x87.cc ('k') | src/frames.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.cc
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
index 9acd80698f9feefee07140f532f8b9c8f897ea8d..4cf41a9f277cadcfd3d4a99f12ea9754d8411591 100644
--- a/src/deoptimizer.cc
+++ b/src/deoptimizer.cc
@@ -3449,7 +3449,8 @@ TranslatedValue TranslatedState::CreateNextTranslatedValue(
float value = registers->GetFloatRegister(input_reg);
if (trace_file != nullptr) {
PrintF(trace_file, "%e ; %s (float)", value,
- FloatRegister::from_code(input_reg).ToString());
+ RegisterConfiguration::Crankshaft()->GetFloatRegisterName(
+ input_reg));
}
return TranslatedValue::NewFloat(this, value);
}
@@ -3460,7 +3461,8 @@ TranslatedValue TranslatedState::CreateNextTranslatedValue(
double value = registers->GetDoubleRegister(input_reg);
if (trace_file != nullptr) {
PrintF(trace_file, "%e ; %s (double)", value,
- DoubleRegister::from_code(input_reg).ToString());
+ RegisterConfiguration::Crankshaft()->GetDoubleRegisterName(
+ input_reg));
}
return TranslatedValue::NewDouble(this, value);
}
« no previous file with comments | « src/crankshaft/x87/lithium-gap-resolver-x87.cc ('k') | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698