Index: src/compiler/bytecode-graph-builder.h |
diff --git a/src/compiler/bytecode-graph-builder.h b/src/compiler/bytecode-graph-builder.h |
index 65e5042d9d7573d93c3f8b7de3a2b743d5f8193b..a4dba43fdf7618368aa339795f9d572c964bc45a 100644 |
--- a/src/compiler/bytecode-graph-builder.h |
+++ b/src/compiler/bytecode-graph-builder.h |
@@ -205,6 +205,10 @@ class BytecodeGraphBuilder { |
// Simulates entry and exit of exception handlers. |
void EnterAndExitExceptionHandlers(int current_offset); |
+ // Update [source_positions_]'s current position to that of the bytecode at |
+ // [offset], if any. |
Jarin
2016/10/31 14:59:39
Nit: above we seem to be using "{offset}" to refer
|
+ void UpdateCurrentSourcePosition(SourcePositionTableIterator* it, int offset); |
+ |
// Growth increment for the temporary buffer used to construct input lists to |
// new nodes. |
static const int kInputBufferSizeIncrement = 64; |
@@ -285,6 +289,7 @@ class BytecodeGraphBuilder { |
const BytecodeLoopAnalysis* loop_analysis_; |
Environment* environment_; |
BailoutId osr_ast_id_; |
+ int osr_loop_offset_; |
// Merge environments are snapshots of the environment at points where the |
// control flow merges. This models a forward data flow propagation of all |
@@ -314,13 +319,9 @@ class BytecodeGraphBuilder { |
// Analyzer of register liveness. |
LivenessAnalyzer liveness_analyzer_; |
- // The Turbofan source position table, to be populated. |
+ // The source position table, to be populated. |
SourcePositionTable* source_positions_; |
- // Update [source_positions_]'s current position to that of the bytecode at |
- // [offset], if any. |
- void UpdateCurrentSourcePosition(SourcePositionTableIterator* it, int offset); |
- |
static int const kBinaryOperationHintIndex = 1; |
static int const kCountOperationHintIndex = 0; |
static int const kBinaryOperationSmiHintIndex = 2; |