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

Side by Side Diff: src/interpreter/bytecodes.cc

Issue 2289613002: [turbofan] Remove special JSForInStep and JSForInDone. (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/interpreter/bytecodes.h ('k') | src/interpreter/interpreter.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 #include "src/interpreter/bytecodes.h" 5 #include "src/interpreter/bytecodes.h"
6 6
7 #include <iomanip> 7 #include <iomanip>
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 case Bytecode::kLogicalNot: 248 case Bytecode::kLogicalNot:
249 case Bytecode::kTestEqual: 249 case Bytecode::kTestEqual:
250 case Bytecode::kTestNotEqual: 250 case Bytecode::kTestNotEqual:
251 case Bytecode::kTestEqualStrict: 251 case Bytecode::kTestEqualStrict:
252 case Bytecode::kTestLessThan: 252 case Bytecode::kTestLessThan:
253 case Bytecode::kTestLessThanOrEqual: 253 case Bytecode::kTestLessThanOrEqual:
254 case Bytecode::kTestGreaterThan: 254 case Bytecode::kTestGreaterThan:
255 case Bytecode::kTestGreaterThanOrEqual: 255 case Bytecode::kTestGreaterThanOrEqual:
256 case Bytecode::kTestInstanceOf: 256 case Bytecode::kTestInstanceOf:
257 case Bytecode::kTestIn: 257 case Bytecode::kTestIn:
258 case Bytecode::kForInDone: 258 case Bytecode::kForInContinue:
259 return true; 259 return true;
260 default: 260 default:
261 return false; 261 return false;
262 } 262 }
263 } 263 }
264 264
265 // static 265 // static
266 bool Bytecodes::IsAccumulatorLoadWithoutEffects(Bytecode bytecode) { 266 bool Bytecodes::IsAccumulatorLoadWithoutEffects(Bytecode bytecode) {
267 switch (bytecode) { 267 switch (bytecode) {
268 case Bytecode::kLdaZero: 268 case Bytecode::kLdaZero:
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 return os << Bytecodes::OperandScaleToString(operand_scale); 674 return os << Bytecodes::OperandScaleToString(operand_scale);
675 } 675 }
676 676
677 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type) { 677 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type) {
678 return os << Bytecodes::OperandTypeToString(operand_type); 678 return os << Bytecodes::OperandTypeToString(operand_type);
679 } 679 }
680 680
681 } // namespace interpreter 681 } // namespace interpreter
682 } // namespace internal 682 } // namespace internal
683 } // namespace v8 683 } // namespace v8
OLDNEW
« no previous file with comments | « src/interpreter/bytecodes.h ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698