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

Side by Side Diff: src/compiler/mips/instruction-selector-mips.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/base/bits.h" 5 #include "src/base/bits.h"
6 #include "src/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 } 431 }
432 432
433 433
434 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { 434 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) {
435 UNREACHABLE(); 435 UNREACHABLE();
436 } 436 }
437 437
438 438
439 void InstructionSelector::VisitCall(Node* node) { 439 void InstructionSelector::VisitCall(Node* node) {
440 MipsOperandGenerator g(this); 440 MipsOperandGenerator g(this);
441 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); 441 const CallDescriptor* descriptor = OpParameter<const CallDescriptor*>(node);
442 442
443 FrameStateDescriptor* frame_state_descriptor = NULL; 443 FrameStateDescriptor* frame_state_descriptor = NULL;
444 if (descriptor->NeedsFrameState()) { 444 if (descriptor->NeedsFrameState()) {
445 frame_state_descriptor = 445 frame_state_descriptor =
446 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); 446 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount()));
447 } 447 }
448 448
449 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); 449 CallBuffer buffer(zone(), descriptor, frame_state_descriptor);
450 450
451 // Compute InstructionOperands for inputs and outputs. 451 // Compute InstructionOperands for inputs and outputs.
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 805
806 // static 806 // static
807 MachineOperatorBuilder::Flags 807 MachineOperatorBuilder::Flags
808 InstructionSelector::SupportedMachineOperatorFlags() { 808 InstructionSelector::SupportedMachineOperatorFlags() {
809 return MachineOperatorBuilder::kNoFlags; 809 return MachineOperatorBuilder::kNoFlags;
810 } 810 }
811 811
812 } // namespace compiler 812 } // namespace compiler
813 } // namespace internal 813 } // namespace internal
814 } // namespace v8 814 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector-impl.h ('k') | src/compiler/mips64/instruction-selector-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698