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

Side by Side Diff: src/interpreter/interpreter.h

Issue 2356703003: Revert of [d8] Fix the shared-library build (Closed)
Patch Set: Created 4 years, 3 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/inspector/BUILD.gn ('k') | src/ostreams.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 #ifndef V8_INTERPRETER_INTERPRETER_H_ 5 #ifndef V8_INTERPRETER_INTERPRETER_H_
6 #define V8_INTERPRETER_INTERPRETER_H_ 6 #define V8_INTERPRETER_INTERPRETER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 // Clients of this interface shouldn't depend on lots of interpreter internals. 10 // Clients of this interface shouldn't depend on lots of interpreter internals.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // Return bytecode handler for |bytecode|. 49 // Return bytecode handler for |bytecode|.
50 Code* GetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale); 50 Code* GetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale);
51 51
52 // GC support. 52 // GC support.
53 void IterateDispatchTable(ObjectVisitor* v); 53 void IterateDispatchTable(ObjectVisitor* v);
54 54
55 // Disassembler support (only useful with ENABLE_DISASSEMBLER defined). 55 // Disassembler support (only useful with ENABLE_DISASSEMBLER defined).
56 void TraceCodegen(Handle<Code> code); 56 void TraceCodegen(Handle<Code> code);
57 const char* LookupNameOfBytecodeHandler(Code* code); 57 const char* LookupNameOfBytecodeHandler(Code* code);
58 58
59 V8_EXPORT_PRIVATE Local<v8::Object> GetDispatchCountersObject(); 59 Local<v8::Object> GetDispatchCountersObject();
60 60
61 Address dispatch_table_address() { 61 Address dispatch_table_address() {
62 return reinterpret_cast<Address>(&dispatch_table_[0]); 62 return reinterpret_cast<Address>(&dispatch_table_[0]);
63 } 63 }
64 64
65 Address bytecode_dispatch_counters_table() { 65 Address bytecode_dispatch_counters_table() {
66 return reinterpret_cast<Address>(bytecode_dispatch_counters_table_.get()); 66 return reinterpret_cast<Address>(bytecode_dispatch_counters_table_.get());
67 } 67 }
68 68
69 // TODO(ignition): Tune code size multiplier. 69 // TODO(ignition): Tune code size multiplier.
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 std::unique_ptr<uintptr_t[]> bytecode_dispatch_counters_table_; 180 std::unique_ptr<uintptr_t[]> bytecode_dispatch_counters_table_;
181 181
182 DISALLOW_COPY_AND_ASSIGN(Interpreter); 182 DISALLOW_COPY_AND_ASSIGN(Interpreter);
183 }; 183 };
184 184
185 } // namespace interpreter 185 } // namespace interpreter
186 } // namespace internal 186 } // namespace internal
187 } // namespace v8 187 } // namespace v8
188 188
189 #endif // V8_INTERPRETER_INTERPRETER_H_ 189 #endif // V8_INTERPRETER_INTERPRETER_H_
OLDNEW
« no previous file with comments | « src/inspector/BUILD.gn ('k') | src/ostreams.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698