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

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

Issue 1475643002: [turbofan] Hide dangerous RawMachineAssembler accessors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-pass-new-target-7
Patch Set: Rebased. Created 5 years 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 | « no previous file | src/compiler/interpreter-assembler.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_COMPILER_INTERPRETER_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_INTERPRETER_ASSEMBLER_H_
6 #define V8_COMPILER_INTERPRETER_ASSEMBLER_H_ 6 #define V8_COMPILER_INTERPRETER_ASSEMBLER_H_
7 7
8 // Clients of this interface shouldn't depend on lots of compiler internals. 8 // Clients of this interface shouldn't depend on lots of compiler internals.
9 // Do not include anything from src/compiler here! 9 // Do not include anything from src/compiler here!
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 void DispatchTo(Node* new_bytecode_offset); 189 void DispatchTo(Node* new_bytecode_offset);
190 190
191 // Abort operations for debug code. 191 // Abort operations for debug code.
192 void AbortIfWordNotEqual(Node* lhs, Node* rhs, BailoutReason bailout_reason); 192 void AbortIfWordNotEqual(Node* lhs, Node* rhs, BailoutReason bailout_reason);
193 193
194 // Adds an end node of the graph. 194 // Adds an end node of the graph.
195 void AddEndInput(Node* input); 195 void AddEndInput(Node* input);
196 196
197 // Private helpers which delegate to RawMachineAssembler. 197 // Private helpers which delegate to RawMachineAssembler.
198 Isolate* isolate(); 198 Isolate* isolate();
199 Schedule* schedule();
200 Zone* zone(); 199 Zone* zone();
201 200
202 interpreter::Bytecode bytecode_; 201 interpreter::Bytecode bytecode_;
203 base::SmartPointer<RawMachineAssembler> raw_assembler_; 202 base::SmartPointer<RawMachineAssembler> raw_assembler_;
204 ZoneVector<Node*> end_nodes_; 203 ZoneVector<Node*> end_nodes_;
205 Node* accumulator_; 204 Node* accumulator_;
206 Node* context_; 205 Node* context_;
207 bool code_generated_; 206 bool code_generated_;
208 207
209 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 208 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
210 }; 209 };
211 210
212 } // namespace compiler 211 } // namespace compiler
213 } // namespace internal 212 } // namespace internal
214 } // namespace v8 213 } // namespace v8
215 214
216 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_ 215 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/interpreter-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698