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

Side by Side Diff: src/compiler/instruction-selector.cc

Issue 1031253005: Update the parameters of VisitSwitch function for turbofan unsupported platform. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/compiler/instruction-selector.h" 5 #include "src/compiler/instruction-selector.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/compiler/instruction-selector-impl.h" 9 #include "src/compiler/instruction-selector-impl.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 UNIMPLEMENTED(); 1147 UNIMPLEMENTED();
1148 } 1148 }
1149 1149
1150 1150
1151 void InstructionSelector::VisitBranch(Node* branch, BasicBlock* tbranch, 1151 void InstructionSelector::VisitBranch(Node* branch, BasicBlock* tbranch,
1152 BasicBlock* fbranch) { 1152 BasicBlock* fbranch) {
1153 UNIMPLEMENTED(); 1153 UNIMPLEMENTED();
1154 } 1154 }
1155 1155
1156 1156
1157 void InstructionSelector::VisitSwitch(Node* node, BasicBlock* default_branch, 1157 void InstructionSelector::VisitSwitch(Node* node, const SwitchInfo& sw) {
1158 BasicBlock** case_branches,
1159 int32_t* case_values, size_t case_count,
1160 int32_t min_value, int32_t max_value) {
1161 UNIMPLEMENTED(); 1158 UNIMPLEMENTED();
1162 } 1159 }
1163 1160
1164 1161
1165 // static 1162 // static
1166 MachineOperatorBuilder::Flags 1163 MachineOperatorBuilder::Flags
1167 InstructionSelector::SupportedMachineOperatorFlags() { 1164 InstructionSelector::SupportedMachineOperatorFlags() {
1168 return MachineOperatorBuilder::Flag::kNoFlags; 1165 return MachineOperatorBuilder::Flag::kNoFlags;
1169 } 1166 }
1170 1167
1171 #endif // !V8_TURBOFAN_BACKEND 1168 #endif // !V8_TURBOFAN_BACKEND
1172 1169
1173 } // namespace compiler 1170 } // namespace compiler
1174 } // namespace internal 1171 } // namespace internal
1175 } // namespace v8 1172 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698