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

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

Issue 812563002: More -fsanitize=vptr fixes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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
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 "src/compiler/graph.h" 7 #include "src/compiler/graph.h"
8 #include "src/compiler/instruction-selector-impl.h" 8 #include "src/compiler/instruction-selector-impl.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/node-properties-inl.h" 10 #include "src/compiler/node-properties-inl.h"
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 MarkAsReference(node); 291 MarkAsReference(node);
292 break; 292 break;
293 default: 293 default:
294 break; 294 break;
295 } 295 }
296 } 296 }
297 297
298 298
299 // TODO(bmeurer): Get rid of the CallBuffer business and make 299 // TODO(bmeurer): Get rid of the CallBuffer business and make
300 // InstructionSelector::VisitCall platform independent instead. 300 // InstructionSelector::VisitCall platform independent instead.
301 CallBuffer::CallBuffer(Zone* zone, CallDescriptor* d, 301 CallBuffer::CallBuffer(Zone* zone, const CallDescriptor* d,
302 FrameStateDescriptor* frame_desc) 302 FrameStateDescriptor* frame_desc)
303 : descriptor(d), 303 : descriptor(d),
304 frame_state_descriptor(frame_desc), 304 frame_state_descriptor(frame_desc),
305 output_nodes(zone), 305 output_nodes(zone),
306 outputs(zone), 306 outputs(zone),
307 instruction_args(zone), 307 instruction_args(zone),
308 pushed_nodes(zone) { 308 pushed_nodes(zone) {
309 output_nodes.reserve(d->ReturnCount()); 309 output_nodes.reserve(d->ReturnCount());
310 outputs.reserve(d->ReturnCount()); 310 outputs.reserve(d->ReturnCount());
311 pushed_nodes.reserve(input_count()); 311 pushed_nodes.reserve(input_count());
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 MachineOperatorBuilder::Flags 1142 MachineOperatorBuilder::Flags
1143 InstructionSelector::SupportedMachineOperatorFlags() { 1143 InstructionSelector::SupportedMachineOperatorFlags() {
1144 return MachineOperatorBuilder::Flag::kNoFlags; 1144 return MachineOperatorBuilder::Flag::kNoFlags;
1145 } 1145 }
1146 1146
1147 #endif // !V8_TURBOFAN_BACKEND 1147 #endif // !V8_TURBOFAN_BACKEND
1148 1148
1149 } // namespace compiler 1149 } // namespace compiler
1150 } // namespace internal 1150 } // namespace internal
1151 } // namespace v8 1151 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-selector-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698