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

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

Issue 764633002: Remove eager assertion from UnboxedIntConverterInstr. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_
6 #define VM_INTERMEDIATE_LANGUAGE_H_ 6 #define VM_INTERMEDIATE_LANGUAGE_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/ast.h" 9 #include "vm/ast.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 7458 matching lines...) Expand 10 before | Expand all | Expand 10 after
7469 to_representation_(to), 7469 to_representation_(to),
7470 is_truncating_(to == kUnboxedUint32) { 7470 is_truncating_(to == kUnboxedUint32) {
7471 ASSERT(from != to); 7471 ASSERT(from != to);
7472 ASSERT((from == kUnboxedMint) || 7472 ASSERT((from == kUnboxedMint) ||
7473 (from == kUnboxedUint32) || 7473 (from == kUnboxedUint32) ||
7474 (from == kUnboxedInt32)); 7474 (from == kUnboxedInt32));
7475 ASSERT((to == kUnboxedMint) || 7475 ASSERT((to == kUnboxedMint) ||
7476 (to == kUnboxedUint32) || 7476 (to == kUnboxedUint32) ||
7477 (to == kUnboxedInt32)); 7477 (to == kUnboxedInt32));
7478 SetInputAt(0, value); 7478 SetInputAt(0, value);
7479 ASSERT(!CanDeoptimize() || (deopt_id != Isolate::kNoDeoptId));
7480 } 7479 }
7481 7480
7482 Value* value() const { return inputs_[0]; } 7481 Value* value() const { return inputs_[0]; }
7483 7482
7484 Representation from() const { return from_representation_; } 7483 Representation from() const { return from_representation_; }
7485 Representation to() const { return to_representation_; } 7484 Representation to() const { return to_representation_; }
7486 bool is_truncating() const { return is_truncating_; } 7485 bool is_truncating() const { return is_truncating_; }
7487 7486
7488 void mark_truncating() { is_truncating_ = true; } 7487 void mark_truncating() { is_truncating_ = true; }
7489 7488
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
7763 Isolate* isolate, bool opt) const { \ 7762 Isolate* isolate, bool opt) const { \
7764 UNIMPLEMENTED(); \ 7763 UNIMPLEMENTED(); \
7765 return NULL; \ 7764 return NULL; \
7766 } \ 7765 } \
7767 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } 7766 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); }
7768 7767
7769 7768
7770 } // namespace dart 7769 } // namespace dart
7771 7770
7772 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 7771 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698