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

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

Issue 11230053: Propagate class-id through checked mode type checks. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Fixed assert in cid propagation Created 8 years, 1 month 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 | runtime/vm/intermediate_language.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 #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 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after
1907 1907
1908 virtual void PrintOperandsTo(BufferFormatter* f) const; 1908 virtual void PrintOperandsTo(BufferFormatter* f) const;
1909 1909
1910 virtual bool CanDeoptimize() const { return false; } 1910 virtual bool CanDeoptimize() const { return false; }
1911 1911
1912 virtual bool HasSideEffect() const { return false; } 1912 virtual bool HasSideEffect() const { return false; }
1913 1913
1914 virtual bool AffectedBySideEffect() const { return false; } 1914 virtual bool AffectedBySideEffect() const { return false; }
1915 virtual bool AttributesEqual(Instruction* other) const; 1915 virtual bool AttributesEqual(Instruction* other) const;
1916 1916
1917 virtual intptr_t ResultCid() const { return kDynamicCid; } 1917 virtual intptr_t ResultCid() const { return value()->ResultCid(); }
1918 virtual intptr_t GetPropagatedCid();
1918 1919
1919 virtual Definition* Canonicalize(); 1920 virtual Definition* Canonicalize();
1920 1921
1921 private: 1922 private:
1922 const intptr_t token_pos_; 1923 const intptr_t token_pos_;
1923 const AbstractType& dst_type_; 1924 const AbstractType& dst_type_;
1924 const String& dst_name_; 1925 const String& dst_name_;
1925 bool is_eliminated_; 1926 bool is_eliminated_;
1926 1927
1927 DISALLOW_COPY_AND_ASSIGN(AssertAssignableInstr); 1928 DISALLOW_COPY_AND_ASSIGN(AssertAssignableInstr);
(...skipping 2318 matching lines...) Expand 10 before | Expand all | Expand 10 after
4246 ForwardInstructionIterator* current_iterator_; 4247 ForwardInstructionIterator* current_iterator_;
4247 4248
4248 private: 4249 private:
4249 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 4250 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
4250 }; 4251 };
4251 4252
4252 4253
4253 } // namespace dart 4254 } // namespace dart
4254 4255
4255 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 4256 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698