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

Unified Diff: runtime/vm/object.cc

Issue 2031153002: Fix sed expression to substitute recalculated fingerprints after format change. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: format fingerprints to fixed size hex for easier substitution 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 | « runtime/vm/method_recognizer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 4a17aa201e5809bf77bdf1dabae09ed3d7a63c74..13b84c64387f0b86d970b534c259ad4b7ffc2e1a 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -7139,11 +7139,10 @@ bool Function::CheckSourceFingerprint(const char* prefix, int32_t fp) const {
// This output can be copied into a file, then used with sed
// to replace the old values.
// sed -i .bak -f /tmp/newkeys runtime/vm/method_recognizer.h
- THR_Print("s/V(%s, %d)/V(%s, %d)/\n",
- prefix, fp, prefix, SourceFingerprint());
+ THR_Print("s/0x%08x/0x%08x/\n", fp, SourceFingerprint());
} else {
THR_Print("FP mismatch while recognizing method %s:"
- " expecting %d found %d\n",
+ " expecting 0x%08x found 0x%08x\n",
ToFullyQualifiedCString(),
fp,
SourceFingerprint());
« no previous file with comments | « runtime/vm/method_recognizer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698