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

Side by Side Diff: runtime/vm/flow_graph_compiler.cc

Issue 2994113003: [vm] Rename *MintOp to *Int64Op to emphasis that they operate on unboxed values. (Closed)
Patch Set: il-printer Created 3 years, 4 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 | « runtime/vm/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_range_analysis.h » ('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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX.
6 6
7 #include "vm/flow_graph_compiler.h" 7 #include "vm/flow_graph_compiler.h"
8 8
9 #include "vm/bit_vector.h" 9 #include "vm/bit_vector.h"
10 #include "vm/cha.h" 10 #include "vm/cha.h"
(...skipping 1642 matching lines...) Expand 10 before | Expand all | Expand 10 after
1653 const Class& FlowGraphCompiler::BoxClassFor(Representation rep) { 1653 const Class& FlowGraphCompiler::BoxClassFor(Representation rep) {
1654 switch (rep) { 1654 switch (rep) {
1655 case kUnboxedDouble: 1655 case kUnboxedDouble:
1656 return double_class(); 1656 return double_class();
1657 case kUnboxedFloat32x4: 1657 case kUnboxedFloat32x4:
1658 return float32x4_class(); 1658 return float32x4_class();
1659 case kUnboxedFloat64x2: 1659 case kUnboxedFloat64x2:
1660 return float64x2_class(); 1660 return float64x2_class();
1661 case kUnboxedInt32x4: 1661 case kUnboxedInt32x4:
1662 return int32x4_class(); 1662 return int32x4_class();
1663 case kUnboxedMint: 1663 case kUnboxedInt64:
1664 return mint_class(); 1664 return mint_class();
1665 default: 1665 default:
1666 UNREACHABLE(); 1666 UNREACHABLE();
1667 return Class::ZoneHandle(); 1667 return Class::ZoneHandle();
1668 } 1668 }
1669 } 1669 }
1670 1670
1671 void FlowGraphCompiler::BeginCodeSourceRange() { 1671 void FlowGraphCompiler::BeginCodeSourceRange() {
1672 code_source_map_builder_->BeginCodeSourceRange(assembler()->CodeSize()); 1672 code_source_map_builder_->BeginCodeSourceRange(assembler()->CodeSize());
1673 } 1673 }
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
1945 return true; 1945 return true;
1946 } 1946 }
1947 1947
1948 void FlowGraphCompiler::FrameStateClear() { 1948 void FlowGraphCompiler::FrameStateClear() {
1949 ASSERT(!is_optimizing()); 1949 ASSERT(!is_optimizing());
1950 frame_state_.TruncateTo(0); 1950 frame_state_.TruncateTo(0);
1951 } 1951 }
1952 #endif // defined(DEBUG) && !defined(TARGET_ARCH_DBC) 1952 #endif // defined(DEBUG) && !defined(TARGET_ARCH_DBC)
1953 1953
1954 } // namespace dart 1954 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_range_analysis.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698