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

Side by Side Diff: src/interpreter/control-flow-builders.h

Issue 2035813002: [Interpreter] Move jump processing to bytecode array writer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_fix_bytecode
Patch Set: Address comments Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « src/interpreter/bytecode-register-optimizer.cc ('k') | src/v8.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_ 5 #ifndef V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_
6 #define V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_ 6 #define V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_
7 7
8 #include "src/interpreter/bytecode-array-builder.h" 8 #include "src/interpreter/bytecode-array-builder.h"
9 9
10 #include "src/interpreter/bytecode-label.h"
10 #include "src/zone-containers.h" 11 #include "src/zone-containers.h"
11 12
12 namespace v8 { 13 namespace v8 {
13 namespace internal { 14 namespace internal {
14 namespace interpreter { 15 namespace interpreter {
15 16
16 class ControlFlowBuilder BASE_EMBEDDED { 17 class ControlFlowBuilder BASE_EMBEDDED {
17 public: 18 public:
18 explicit ControlFlowBuilder(BytecodeArrayBuilder* builder) 19 explicit ControlFlowBuilder(BytecodeArrayBuilder* builder)
19 : builder_(builder) {} 20 : builder_(builder) {}
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // this finally block will be caught. Note that such a prediction depends on 185 // this finally block will be caught. Note that such a prediction depends on
185 // whether this try-finally is nested inside a surrounding try-catch. 186 // whether this try-finally is nested inside a surrounding try-catch.
186 bool will_catch_; 187 bool will_catch_;
187 }; 188 };
188 189
189 } // namespace interpreter 190 } // namespace interpreter
190 } // namespace internal 191 } // namespace internal
191 } // namespace v8 192 } // namespace v8
192 193
193 #endif // V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_ 194 #endif // V8_INTERPRETER_CONTROL_FLOW_BUILDERS_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-register-optimizer.cc ('k') | src/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698