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

Side by Side Diff: src/compiler/arm/instruction-selector-arm.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
« no previous file with comments | « no previous file | src/compiler/arm64/instruction-selector-arm64.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 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 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1010 1010
1011 1011
1012 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { 1012 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) {
1013 DCHECK(CpuFeatures::IsSupported(ARMv8)); 1013 DCHECK(CpuFeatures::IsSupported(ARMv8));
1014 VisitRRFloat64(this, kArmVroundTiesAwayF64, node); 1014 VisitRRFloat64(this, kArmVroundTiesAwayF64, node);
1015 } 1015 }
1016 1016
1017 1017
1018 void InstructionSelector::VisitCall(Node* node) { 1018 void InstructionSelector::VisitCall(Node* node) {
1019 ArmOperandGenerator g(this); 1019 ArmOperandGenerator g(this);
1020 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); 1020 const CallDescriptor* descriptor = OpParameter<const CallDescriptor*>(node);
1021 1021
1022 FrameStateDescriptor* frame_state_descriptor = NULL; 1022 FrameStateDescriptor* frame_state_descriptor = NULL;
1023 if (descriptor->NeedsFrameState()) { 1023 if (descriptor->NeedsFrameState()) {
1024 frame_state_descriptor = 1024 frame_state_descriptor =
1025 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); 1025 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount()));
1026 } 1026 }
1027 1027
1028 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); 1028 CallBuffer buffer(zone(), descriptor, frame_state_descriptor);
1029 1029
1030 // Compute InstructionOperands for inputs and outputs. 1030 // Compute InstructionOperands for inputs and outputs.
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 MachineOperatorBuilder::kFloat64Ceil | 1333 MachineOperatorBuilder::kFloat64Ceil |
1334 MachineOperatorBuilder::kFloat64RoundTruncate | 1334 MachineOperatorBuilder::kFloat64RoundTruncate |
1335 MachineOperatorBuilder::kFloat64RoundTiesAway; 1335 MachineOperatorBuilder::kFloat64RoundTiesAway;
1336 } 1336 }
1337 return flags; 1337 return flags;
1338 } 1338 }
1339 1339
1340 } // namespace compiler 1340 } // namespace compiler
1341 } // namespace internal 1341 } // namespace internal
1342 } // namespace v8 1342 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm64/instruction-selector-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698