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

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

Issue 11573044: Inline Doubles truncate and round. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_ia32.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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/intermediate_language.h" 5 #include "vm/intermediate_language.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
9 #include "vm/flow_graph_allocator.h" 9 #include "vm/flow_graph_allocator.h"
10 #include "vm/flow_graph_builder.h" 10 #include "vm/flow_graph_builder.h"
(...skipping 1583 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 RawAbstractType* DoubleToIntegerInstr::CompileType() const { 1594 RawAbstractType* DoubleToIntegerInstr::CompileType() const {
1595 return Type::IntType(); 1595 return Type::IntType();
1596 } 1596 }
1597 1597
1598 1598
1599 RawAbstractType* DoubleToSmiInstr::CompileType() const { 1599 RawAbstractType* DoubleToSmiInstr::CompileType() const {
1600 return Type::SmiType(); 1600 return Type::SmiType();
1601 } 1601 }
1602 1602
1603 1603
1604 RawAbstractType* DoubleToDoubleInstr::CompileType() const {
1605 return Type::Double();
1606 }
1607
1608
1604 RawAbstractType* CheckClassInstr::CompileType() const { 1609 RawAbstractType* CheckClassInstr::CompileType() const {
1605 return AbstractType::null(); 1610 return AbstractType::null();
1606 } 1611 }
1607 1612
1608 1613
1609 RawAbstractType* CheckSmiInstr::CompileType() const { 1614 RawAbstractType* CheckSmiInstr::CompileType() const {
1610 return AbstractType::null(); 1615 return AbstractType::null();
1611 } 1616 }
1612 1617
1613 1618
(...skipping 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
2955 default: 2960 default:
2956 UNREACHABLE(); 2961 UNREACHABLE();
2957 return -1; 2962 return -1;
2958 } 2963 }
2959 } 2964 }
2960 2965
2961 2966
2962 #undef __ 2967 #undef __
2963 2968
2964 } // namespace dart 2969 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698