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

Unified Diff: src/compilation-info.h

Issue 2503393002: [cpu-profiler] use new source position information for deoptimization in cpu profiler (Closed)
Patch Set: addressed comment Created 4 years, 1 month 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 | src/compiler/code-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compilation-info.h
diff --git a/src/compilation-info.h b/src/compilation-info.h
index 83bc92ed0503c6a438f3de70ad2568a853178b87..77b9e34306aa236fdd9dd0bb0d930cc3b524ffdb 100644
--- a/src/compilation-info.h
+++ b/src/compilation-info.h
@@ -292,7 +292,7 @@ class CompilationInfo final {
inlined_code_object_root(inlined_code_object_root) {
position.position = pos;
// initialized when generating the deoptimization literals
- position.inlined_function_id = -1;
+ position.inlined_function_id = DeoptimizationInputData::kNotInlinedIndex;
}
void RegisterInlinedFunctionId(size_t inlined_function_id) {
« no previous file with comments | « no previous file | src/compiler/code-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698