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

Unified Diff: src/deoptimizer.h

Issue 2239773003: [deoptimizer] use correct code/bytecode to compute source position. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add dcheck Created 4 years, 4 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 | « no previous file | src/deoptimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.h
diff --git a/src/deoptimizer.h b/src/deoptimizer.h
index 304e8299a3697cb7e805aaf44586b7d41d30b604..b5a4443311646083920d46294af531e52cbf50c7 100644
--- a/src/deoptimizer.h
+++ b/src/deoptimizer.h
@@ -357,8 +357,10 @@ class Deoptimizer : public Malloced {
static DeoptInfo GetDeoptInfo(Code* code, byte* from);
- static int ComputeSourcePosition(SharedFunctionInfo* shared,
- BailoutId node_id);
+ static int ComputeSourcePositionFromBaselineCode(SharedFunctionInfo* shared,
+ BailoutId node_id);
+ static int ComputeSourcePositionFromBytecodeArray(SharedFunctionInfo* shared,
+ BailoutId node_id);
struct JumpTableEntry : public ZoneObject {
inline JumpTableEntry(Address entry, const DeoptInfo& deopt_info,
« no previous file with comments | « no previous file | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698