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

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

Issue 2416243002: Make unittests work in component build (Closed)
Patch Set: updates Created 4 years, 2 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/constant-array-builder.h ('k') | src/isolate.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_ASSEMBLER_H_ 5 #ifndef V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
6 #define V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 6 #define V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/builtins/builtins.h" 9 #include "src/builtins/builtins.h"
10 #include "src/code-stub-assembler.h" 10 #include "src/code-stub-assembler.h"
11 #include "src/frames.h" 11 #include "src/frames.h"
12 #include "src/globals.h"
12 #include "src/interpreter/bytecode-register.h" 13 #include "src/interpreter/bytecode-register.h"
13 #include "src/interpreter/bytecodes.h" 14 #include "src/interpreter/bytecodes.h"
14 #include "src/runtime/runtime.h" 15 #include "src/runtime/runtime.h"
15 16
16 namespace v8 { 17 namespace v8 {
17 namespace internal { 18 namespace internal {
18 namespace interpreter { 19 namespace interpreter {
19 20
20 class InterpreterAssembler : public CodeStubAssembler { 21 class V8_EXPORT_PRIVATE InterpreterAssembler : public CodeStubAssembler {
21 public: 22 public:
22 InterpreterAssembler(Isolate* isolate, Zone* zone, Bytecode bytecode, 23 InterpreterAssembler(Isolate* isolate, Zone* zone, Bytecode bytecode,
23 OperandScale operand_scale); 24 OperandScale operand_scale);
24 virtual ~InterpreterAssembler(); 25 virtual ~InterpreterAssembler();
25 26
26 // Returns the count immediate for bytecode operand |operand_index| in the 27 // Returns the count immediate for bytecode operand |operand_index| in the
27 // current bytecode. 28 // current bytecode.
28 compiler::Node* BytecodeOperandCount(int operand_index); 29 compiler::Node* BytecodeOperandCount(int operand_index);
29 // Returns the 8-bit flag for bytecode operand |operand_index| in the 30 // Returns the 8-bit flag for bytecode operand |operand_index| in the
30 // current bytecode. 31 // current bytecode.
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 compiler::Node* stack_pointer_before_call_; 309 compiler::Node* stack_pointer_before_call_;
309 310
310 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 311 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
311 }; 312 };
312 313
313 } // namespace interpreter 314 } // namespace interpreter
314 } // namespace internal 315 } // namespace internal
315 } // namespace v8 316 } // namespace v8
316 317
317 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 318 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/interpreter/constant-array-builder.h ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698