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

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

Issue 1684073002: [Interpreter] Save and restore dispatch table pointer during calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_assm
Patch Set: Address review comments Created 4 years, 10 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/ia32/builtins-ia32.cc ('k') | src/interpreter/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_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/base/smart-pointers.h" 9 #include "src/base/smart-pointers.h"
10 #include "src/builtins.h" 10 #include "src/builtins.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 compiler::Node* Advance(compiler::Node* delta); 178 compiler::Node* Advance(compiler::Node* delta);
179 179
180 // Starts next instruction dispatch at |new_bytecode_offset|. 180 // Starts next instruction dispatch at |new_bytecode_offset|.
181 void DispatchTo(compiler::Node* new_bytecode_offset); 181 void DispatchTo(compiler::Node* new_bytecode_offset);
182 182
183 // Abort operations for debug code. 183 // Abort operations for debug code.
184 void AbortIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs, 184 void AbortIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs,
185 BailoutReason bailout_reason); 185 BailoutReason bailout_reason);
186 186
187 Bytecode bytecode_; 187 Bytecode bytecode_;
188 compiler::Node* accumulator_; 188 CodeStubAssembler::Variable accumulator_;
189 compiler::Node* context_; 189 CodeStubAssembler::Variable context_;
190 CodeStubAssembler::Variable dispatch_table_;
190 191
191 bool disable_stack_check_across_call_; 192 bool disable_stack_check_across_call_;
192 compiler::Node* stack_pointer_before_call_; 193 compiler::Node* stack_pointer_before_call_;
193 194
194 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 195 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
195 }; 196 };
196 197
197 } // namespace interpreter 198 } // namespace interpreter
198 } // namespace internal 199 } // namespace internal
199 } // namespace v8 200 } // namespace v8
200 201
201 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_ 202 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | src/interpreter/interpreter-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698