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

Side by Side Diff: src/interpreter/bytecode-array-writer.cc

Issue 2149093002: Reland "[interpreter] Reduce dependencies in bytecodes.{h,cc}" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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-array-iterator.cc ('k') | src/interpreter/bytecode-decoder.h » ('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 #include "src/interpreter/bytecode-array-writer.h" 5 #include "src/interpreter/bytecode-array-writer.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/interpreter/bytecode-label.h" 8 #include "src/interpreter/bytecode-label.h"
9 #include "src/interpreter/bytecode-register.h"
9 #include "src/interpreter/constant-array-builder.h" 10 #include "src/interpreter/constant-array-builder.h"
10 #include "src/log.h" 11 #include "src/log.h"
11 12
12 namespace v8 { 13 namespace v8 {
13 namespace internal { 14 namespace internal {
14 namespace interpreter { 15 namespace interpreter {
15 16
16 STATIC_CONST_MEMBER_DEFINITION const size_t 17 STATIC_CONST_MEMBER_DEFINITION const size_t
17 BytecodeArrayWriter::kMaxSizeOfPackedBytecode; 18 BytecodeArrayWriter::kMaxSizeOfPackedBytecode;
18 19
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 node->set_bytecode(node->bytecode(), k32BitJumpPlaceholder); 384 node->set_bytecode(node->bytecode(), k32BitJumpPlaceholder);
384 break; 385 break;
385 } 386 }
386 } 387 }
387 EmitBytecode(node); 388 EmitBytecode(node);
388 } 389 }
389 390
390 } // namespace interpreter 391 } // namespace interpreter
391 } // namespace internal 392 } // namespace internal
392 } // namespace v8 393 } // namespace v8
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-array-iterator.cc ('k') | src/interpreter/bytecode-decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698