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

Unified Diff: runtime/vm/disassembler.cc

Issue 2793943002: Fix disassembly of OSR functions. (Closed)
Patch Set: Remove unused function Created 3 years, 9 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/disassembler.h ('k') | runtime/vm/precompiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/disassembler.cc
diff --git a/runtime/vm/disassembler.cc b/runtime/vm/disassembler.cc
index c51f6e4be3b337d027f727a37167e8b2dda46fc6..de385cf2f6096d065f9e25c6369477bdaf34602c 100644
--- a/runtime/vm/disassembler.cc
+++ b/runtime/vm/disassembler.cc
@@ -301,17 +301,10 @@ void Disassembler::DisassembleCodeHelper(const char* function_fullname,
}
-void Disassembler::DisassembleCode(const Function& function, bool optimized) {
+void Disassembler::DisassembleCode(const Function& function,
+ const Code& code,
+ bool optimized) {
const char* function_fullname = function.ToFullyQualifiedCString();
- const Code& code = Code::Handle(function.CurrentCode());
- DisassembleCodeHelper(function_fullname, code, optimized);
-}
-
-
-void Disassembler::DisassembleCodeUnoptimized(const Function& function,
- bool optimized) {
- const char* function_fullname = function.ToFullyQualifiedCString();
- const Code& code = Code::Handle(function.unoptimized_code());
DisassembleCodeHelper(function_fullname, code, optimized);
}
« no previous file with comments | « runtime/vm/disassembler.h ('k') | runtime/vm/precompiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698