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

Side by Side Diff: src/compiler/x64/instruction-selector-x64.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 | « src/compiler/typer.cc ('k') | test/mjsunit/regress/regress-441099.js » ('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/compiler/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace compiler { 10 namespace compiler {
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 } 915 }
916 916
917 917
918 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { 918 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) {
919 UNREACHABLE(); 919 UNREACHABLE();
920 } 920 }
921 921
922 922
923 void InstructionSelector::VisitCall(Node* node) { 923 void InstructionSelector::VisitCall(Node* node) {
924 X64OperandGenerator g(this); 924 X64OperandGenerator g(this);
925 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); 925 const CallDescriptor* descriptor = OpParameter<const CallDescriptor*>(node);
926 926
927 FrameStateDescriptor* frame_state_descriptor = NULL; 927 FrameStateDescriptor* frame_state_descriptor = NULL;
928 if (descriptor->NeedsFrameState()) { 928 if (descriptor->NeedsFrameState()) {
929 frame_state_descriptor = GetFrameStateDescriptor( 929 frame_state_descriptor = GetFrameStateDescriptor(
930 node->InputAt(static_cast<int>(descriptor->InputCount()))); 930 node->InputAt(static_cast<int>(descriptor->InputCount())));
931 } 931 }
932 932
933 CallBuffer buffer(zone(), descriptor, frame_state_descriptor); 933 CallBuffer buffer(zone(), descriptor, frame_state_descriptor);
934 934
935 // Compute InstructionOperands for inputs and outputs. 935 // Compute InstructionOperands for inputs and outputs.
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 MachineOperatorBuilder::kFloat64Ceil | 1308 MachineOperatorBuilder::kFloat64Ceil |
1309 MachineOperatorBuilder::kFloat64RoundTruncate | 1309 MachineOperatorBuilder::kFloat64RoundTruncate |
1310 MachineOperatorBuilder::kWord32ShiftIsSafe; 1310 MachineOperatorBuilder::kWord32ShiftIsSafe;
1311 } 1311 }
1312 return MachineOperatorBuilder::kNoFlags; 1312 return MachineOperatorBuilder::kNoFlags;
1313 } 1313 }
1314 1314
1315 } // namespace compiler 1315 } // namespace compiler
1316 } // namespace internal 1316 } // namespace internal
1317 } // namespace v8 1317 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | test/mjsunit/regress/regress-441099.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698