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

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

Issue 2235133003: [interpreter] Collect type feedback from bitwise binary ops handlers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed mapping kSignedSmall -> kSigned32 to kSignedSmall -> kSignedSmall. Created 4 years, 4 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/interpreter.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/builtins/builtins.h" 9 #include "src/builtins/builtins.h"
10 #include "src/code-stub-assembler.h" 10 #include "src/code-stub-assembler.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 compiler::Node* Dispatch(); 155 compiler::Node* Dispatch();
156 156
157 // Dispatch to bytecode handler. 157 // Dispatch to bytecode handler.
158 compiler::Node* DispatchToBytecodeHandler(compiler::Node* handler) { 158 compiler::Node* DispatchToBytecodeHandler(compiler::Node* handler) {
159 return DispatchToBytecodeHandler(handler, BytecodeOffset()); 159 return DispatchToBytecodeHandler(handler, BytecodeOffset());
160 } 160 }
161 161
162 // Dispatch bytecode as wide operand variant. 162 // Dispatch bytecode as wide operand variant.
163 void DispatchWide(OperandScale operand_scale); 163 void DispatchWide(OperandScale operand_scale);
164 164
165 // Truncate tagged |value| to word32 and store the type feedback in
166 // |var_type_feedback|.
167 compiler::Node* TruncateTaggedToWord32WithFeedback(
168 compiler::Node* context, compiler::Node* value,
169 Variable* var_type_feedback);
170
165 // Abort with the given bailout reason. 171 // Abort with the given bailout reason.
166 void Abort(BailoutReason bailout_reason); 172 void Abort(BailoutReason bailout_reason);
167 void AbortIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs, 173 void AbortIfWordNotEqual(compiler::Node* lhs, compiler::Node* rhs,
168 BailoutReason bailout_reason); 174 BailoutReason bailout_reason);
169 175
170 // Returns the offset from the BytecodeArrayPointer of the current bytecode. 176 // Returns the offset from the BytecodeArrayPointer of the current bytecode.
171 compiler::Node* BytecodeOffset(); 177 compiler::Node* BytecodeOffset();
172 178
173 protected: 179 protected:
174 Bytecode bytecode() const { return bytecode_; } 180 Bytecode bytecode() const { return bytecode_; }
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 compiler::Node* stack_pointer_before_call_; 289 compiler::Node* stack_pointer_before_call_;
284 290
285 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 291 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
286 }; 292 };
287 293
288 } // namespace interpreter 294 } // namespace interpreter
289 } // namespace internal 295 } // namespace internal
290 } // namespace v8 296 } // namespace v8
291 297
292 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_ 298 #endif // V8_INTERPRETER_INTERPRETER_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/interpreter/interpreter-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698