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

Unified Diff: src/compiler/bytecode-graph-builder.h

Issue 1656933006: [interpreter] Make branch analysis result const again. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/bytecode-graph-builder.h
diff --git a/src/compiler/bytecode-graph-builder.h b/src/compiler/bytecode-graph-builder.h
index 207668b31eee6c4ed5f938b4a711f46fe3e86ddd..8fd20a1d20450b5be50551435417bd3dcd028599 100644
--- a/src/compiler/bytecode-graph-builder.h
+++ b/src/compiler/bytecode-graph-builder.h
@@ -214,7 +214,7 @@ class BytecodeGraphBuilder {
return branch_analysis_;
}
- void set_branch_analysis(BytecodeBranchAnalysis* branch_analysis) {
+ void set_branch_analysis(const BytecodeBranchAnalysis* branch_analysis) {
branch_analysis_ = branch_analysis;
}
@@ -229,7 +229,7 @@ class BytecodeGraphBuilder {
Handle<HandlerTable> exception_handler_table_;
const FrameStateFunctionInfo* frame_state_function_info_;
const interpreter::BytecodeArrayIterator* bytecode_iterator_;
- BytecodeBranchAnalysis* branch_analysis_; // TODO(mstarzinger): Make const.
+ const BytecodeBranchAnalysis* branch_analysis_;
Environment* environment_;
// Merge environments are snapshots of the environment at points where the
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698