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

Side by Side Diff: src/compiler/verifier.cc

Issue 1544743004: [turbofan] Add Int64(Add|Sub)WithOverflow support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add truncation to the int64-sub-with-overflow-branch test Created 4 years, 12 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 | « src/compiler/typer.cc ('k') | src/compiler/x64/instruction-selector-x64.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/compiler/verifier.h" 5 #include "src/compiler/verifier.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <sstream> 10 #include <sstream>
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 case IrOpcode::kInt32Div: 854 case IrOpcode::kInt32Div:
855 case IrOpcode::kInt32Mod: 855 case IrOpcode::kInt32Mod:
856 case IrOpcode::kInt32LessThan: 856 case IrOpcode::kInt32LessThan:
857 case IrOpcode::kInt32LessThanOrEqual: 857 case IrOpcode::kInt32LessThanOrEqual:
858 case IrOpcode::kUint32Div: 858 case IrOpcode::kUint32Div:
859 case IrOpcode::kUint32Mod: 859 case IrOpcode::kUint32Mod:
860 case IrOpcode::kUint32MulHigh: 860 case IrOpcode::kUint32MulHigh:
861 case IrOpcode::kUint32LessThan: 861 case IrOpcode::kUint32LessThan:
862 case IrOpcode::kUint32LessThanOrEqual: 862 case IrOpcode::kUint32LessThanOrEqual:
863 case IrOpcode::kInt64Add: 863 case IrOpcode::kInt64Add:
864 case IrOpcode::kInt64AddWithOverflow:
864 case IrOpcode::kInt64Sub: 865 case IrOpcode::kInt64Sub:
866 case IrOpcode::kInt64SubWithOverflow:
865 case IrOpcode::kInt64Mul: 867 case IrOpcode::kInt64Mul:
866 case IrOpcode::kInt64Div: 868 case IrOpcode::kInt64Div:
867 case IrOpcode::kInt64Mod: 869 case IrOpcode::kInt64Mod:
868 case IrOpcode::kInt64LessThan: 870 case IrOpcode::kInt64LessThan:
869 case IrOpcode::kInt64LessThanOrEqual: 871 case IrOpcode::kInt64LessThanOrEqual:
870 case IrOpcode::kUint64Div: 872 case IrOpcode::kUint64Div:
871 case IrOpcode::kUint64Mod: 873 case IrOpcode::kUint64Mod:
872 case IrOpcode::kUint64LessThan: 874 case IrOpcode::kUint64LessThan:
873 case IrOpcode::kUint64LessThanOrEqual: 875 case IrOpcode::kUint64LessThanOrEqual:
874 case IrOpcode::kFloat32Add: 876 case IrOpcode::kFloat32Add:
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 replacement->op()->EffectOutputCount() > 0); 1258 replacement->op()->EffectOutputCount() > 0);
1257 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1259 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1258 replacement->opcode() == IrOpcode::kFrameState); 1260 replacement->opcode() == IrOpcode::kFrameState);
1259 } 1261 }
1260 1262
1261 #endif // DEBUG 1263 #endif // DEBUG
1262 1264
1263 } // namespace compiler 1265 } // namespace compiler
1264 } // namespace internal 1266 } // namespace internal
1265 } // namespace v8 1267 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/compiler/x64/instruction-selector-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698