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

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
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 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 RawAbstractType* DoubleToIntegerInstr::CompileType() const { 1391 RawAbstractType* DoubleToIntegerInstr::CompileType() const {
1392 return Type::IntType(); 1392 return Type::IntType();
1393 } 1393 }
1394 1394
1395 1395
1396 RawAbstractType* DoubleToSmiInstr::CompileType() const { 1396 RawAbstractType* DoubleToSmiInstr::CompileType() const {
1397 return Type::SmiType(); 1397 return Type::SmiType();
1398 } 1398 }
1399 1399
1400 1400
1401 RawAbstractType* DoubleToDoubleInstr::CompileType() const {
1402 return Type::Double();
1403 }
1404
1405
1401 RawAbstractType* CheckClassInstr::CompileType() const { 1406 RawAbstractType* CheckClassInstr::CompileType() const {
1402 return AbstractType::null(); 1407 return AbstractType::null();
1403 } 1408 }
1404 1409
1405 1410
1406 RawAbstractType* CheckSmiInstr::CompileType() const { 1411 RawAbstractType* CheckSmiInstr::CompileType() const {
1407 return AbstractType::null(); 1412 return AbstractType::null();
1408 } 1413 }
1409 1414
1410 1415
(...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after
2705 default: 2710 default:
2706 UNREACHABLE(); 2711 UNREACHABLE();
2707 return -1; 2712 return -1;
2708 } 2713 }
2709 } 2714 }
2710 2715
2711 2716
2712 #undef __ 2717 #undef __
2713 2718
2714 } // namespace dart 2719 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698