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

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

Issue 2095893002: Use source position table for unoptimized code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix gc mole 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/full-codegen/full-codegen.cc ('k') | src/interpreter/bytecode-pipeline.cc » ('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_BYTECODE_ARRAY_WRITER_H_ 5 #ifndef V8_INTERPRETER_BYTECODE_ARRAY_WRITER_H_
6 #define V8_INTERPRETER_BYTECODE_ARRAY_WRITER_H_ 6 #define V8_INTERPRETER_BYTECODE_ARRAY_WRITER_H_
7 7
8 #include "src/interpreter/bytecode-pipeline.h" 8 #include "src/interpreter/bytecode-pipeline.h"
9 #include "src/interpreter/source-position-table.h" 9 #include "src/source-position-table.h"
10 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13
14 class SourcePositionTableBuilder;
15
13 namespace interpreter { 16 namespace interpreter {
14 17
15 class BytecodeLabel; 18 class BytecodeLabel;
16 class SourcePositionTableBuilder;
17 class ConstantArrayBuilder; 19 class ConstantArrayBuilder;
18 20
19 // Class for emitting bytecode as the final stage of the bytecode 21 // Class for emitting bytecode as the final stage of the bytecode
20 // generation pipeline. 22 // generation pipeline.
21 class BytecodeArrayWriter final : public BytecodePipelineStage { 23 class BytecodeArrayWriter final : public BytecodePipelineStage {
22 public: 24 public:
23 BytecodeArrayWriter(Isolate* isolate, Zone* zone, 25 BytecodeArrayWriter(Isolate* isolate, Zone* zone,
24 ConstantArrayBuilder* constant_array_builder); 26 ConstantArrayBuilder* constant_array_builder);
25 virtual ~BytecodeArrayWriter(); 27 virtual ~BytecodeArrayWriter();
26 28
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 73
72 friend class BytecodeArrayWriterUnittest; 74 friend class BytecodeArrayWriterUnittest;
73 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayWriter); 75 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayWriter);
74 }; 76 };
75 77
76 } // namespace interpreter 78 } // namespace interpreter
77 } // namespace internal 79 } // namespace internal
78 } // namespace v8 80 } // namespace v8
79 81
80 #endif // V8_INTERPRETER_BYTECODE_ARRAY_WRITER_H_ 82 #endif // V8_INTERPRETER_BYTECODE_ARRAY_WRITER_H_
OLDNEW
« no previous file with comments | « src/full-codegen/full-codegen.cc ('k') | src/interpreter/bytecode-pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698