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

Unified Diff: src/objects.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 | « src/crankshaft/lithium-codegen.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index c59beab8be3d72eeb8afc87ffdc603771eec6749..f47821df136139453c188b9896222aa03d0955e7 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5226,6 +5226,12 @@ class DeoptimizationInputData: public FixedArray {
inline int DeoptCount();
+ static const int kNotInlinedIndex = -1;
+
+ // Returns the inlined function at the given position in LiteralArray, or the
+ // outer function if index == kNotInlinedIndex.
+ class SharedFunctionInfo* GetInlinedFunction(int index);
+
// Allocates a DeoptimizationInputData.
static Handle<DeoptimizationInputData> New(Isolate* isolate,
int deopt_entry_count,
« no previous file with comments | « src/crankshaft/lithium-codegen.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698