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

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

Issue 2085823003: Revert of [Interpreter] Map runtime id's to intrinsic id's in InvokeIntrinsic bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/frames.h" 10 #include "src/frames.h"
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 const uint8_t* operand_start = 730 const uint8_t* operand_start =
731 &bytecode_start[prefix_offset + 731 &bytecode_start[prefix_offset +
732 GetOperandOffset(bytecode, i, operand_scale)]; 732 GetOperandOffset(bytecode, i, operand_scale)];
733 switch (op_type) { 733 switch (op_type) {
734 case interpreter::OperandType::kRegCount: 734 case interpreter::OperandType::kRegCount:
735 os << "#" 735 os << "#"
736 << DecodeUnsignedOperand(operand_start, op_type, operand_scale); 736 << DecodeUnsignedOperand(operand_start, op_type, operand_scale);
737 break; 737 break;
738 case interpreter::OperandType::kIdx: 738 case interpreter::OperandType::kIdx:
739 case interpreter::OperandType::kRuntimeId: 739 case interpreter::OperandType::kRuntimeId:
740 case interpreter::OperandType::kIntrinsicId:
741 os << "[" 740 os << "["
742 << DecodeUnsignedOperand(operand_start, op_type, operand_scale) 741 << DecodeUnsignedOperand(operand_start, op_type, operand_scale)
743 << "]"; 742 << "]";
744 break; 743 break;
745 case interpreter::OperandType::kImm: 744 case interpreter::OperandType::kImm:
746 os << "[" << DecodeSignedOperand(operand_start, op_type, operand_scale) 745 os << "[" << DecodeSignedOperand(operand_start, op_type, operand_scale)
747 << "]"; 746 << "]";
748 break; 747 break;
749 case interpreter::OperandType::kFlag8: 748 case interpreter::OperandType::kFlag8:
750 os << "#" 749 os << "#"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 } else { 939 } else {
941 std::ostringstream s; 940 std::ostringstream s;
942 s << "r" << index(); 941 s << "r" << index();
943 return s.str(); 942 return s.str();
944 } 943 }
945 } 944 }
946 945
947 } // namespace interpreter 946 } // namespace interpreter
948 } // namespace internal 947 } // namespace internal
949 } // namespace v8 948 } // 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