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

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

Issue 11238035: Make isEmpty a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 years, 2 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/flow_graph_optimizer.cc ('k') | runtime/vm/intrinsifier.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) 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 18 matching lines...) Expand all
29 29
30 30
31 // TODO(srdjan): Add _ByteArrayBase, get:length. 31 // TODO(srdjan): Add _ByteArrayBase, get:length.
32 32
33 #define RECOGNIZED_LIST(V) \ 33 #define RECOGNIZED_LIST(V) \
34 V(_ObjectArray, get:length, ObjectArrayLength) \ 34 V(_ObjectArray, get:length, ObjectArrayLength) \
35 V(_ImmutableArray, get:length, ImmutableArrayLength) \ 35 V(_ImmutableArray, get:length, ImmutableArrayLength) \
36 V(_GrowableObjectArray, get:length, GrowableArrayLength) \ 36 V(_GrowableObjectArray, get:length, GrowableArrayLength) \
37 V(_GrowableObjectArray, get:capacity, GrowableArrayCapacity) \ 37 V(_GrowableObjectArray, get:capacity, GrowableArrayCapacity) \
38 V(_StringBase, get:length, StringBaseLength) \ 38 V(_StringBase, get:length, StringBaseLength) \
39 V(_StringBase, isEmpty, StringBaseIsEmpty) \ 39 V(_StringBase, get:isEmpty, StringBaseIsEmpty) \
40 V(_IntegerImplementation, toDouble, IntegerToDouble) \ 40 V(_IntegerImplementation, toDouble, IntegerToDouble) \
41 V(_Double, toDouble, DoubleToDouble) \ 41 V(_Double, toDouble, DoubleToDouble) \
42 V(_Double, toInt, DoubleToInteger) \ 42 V(_Double, toInt, DoubleToInteger) \
43 V(_IntegerImplementation, toInt, IntegerToInteger) \ 43 V(_IntegerImplementation, toInt, IntegerToInteger) \
44 V(::, sqrt, MathSqrt) \ 44 V(::, sqrt, MathSqrt) \
45 45
46 // Class that recognizes the name and owner of a function and returns the 46 // Class that recognizes the name and owner of a function and returns the
47 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable 47 // corresponding enum. See RECOGNIZED_LIST above for list of recognizable
48 // functions. 48 // functions.
49 class MethodRecognizer : public AllStatic { 49 class MethodRecognizer : public AllStatic {
(...skipping 4200 matching lines...) Expand 10 before | Expand all | Expand 10 after
4250 ForwardInstructionIterator* current_iterator_; 4250 ForwardInstructionIterator* current_iterator_;
4251 4251
4252 private: 4252 private:
4253 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); 4253 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor);
4254 }; 4254 };
4255 4255
4256 4256
4257 } // namespace dart 4257 } // namespace dart
4258 4258
4259 #endif // VM_INTERMEDIATE_LANGUAGE_H_ 4259 #endif // VM_INTERMEDIATE_LANGUAGE_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/intrinsifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698