OLD | NEW |
---|---|
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 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. |
6 #if defined(TARGET_ARCH_X64) | 6 #if defined(TARGET_ARCH_X64) |
7 | 7 |
8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
9 | 9 |
10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
919 case kTypedDataUint32ArrayCid: | 919 case kTypedDataUint32ArrayCid: |
920 return CompileType::FromCid(kSmiCid); | 920 return CompileType::FromCid(kSmiCid); |
921 | 921 |
922 default: | 922 default: |
923 UNIMPLEMENTED(); | 923 UNIMPLEMENTED(); |
924 return CompileType::Dynamic(); | 924 return CompileType::Dynamic(); |
925 } | 925 } |
926 } | 926 } |
927 | 927 |
928 | 928 |
929 bool LoadIndexedInstr::Typed32BitIsSmi() const { return true; } | |
Vyacheslav Egorov (Google)
2014/07/26 07:33:49
Remove one space between bool and LoadIndexedInstr
srdjan
2014/07/28 16:50:49
Done.
The idea was to change a flag on 32 bit a
| |
930 | |
931 | |
929 Representation LoadIndexedInstr::representation() const { | 932 Representation LoadIndexedInstr::representation() const { |
930 switch (class_id_) { | 933 switch (class_id_) { |
931 case kArrayCid: | 934 case kArrayCid: |
932 case kImmutableArrayCid: | 935 case kImmutableArrayCid: |
933 case kTypedDataInt8ArrayCid: | 936 case kTypedDataInt8ArrayCid: |
934 case kTypedDataUint8ArrayCid: | 937 case kTypedDataUint8ArrayCid: |
935 case kTypedDataUint8ClampedArrayCid: | 938 case kTypedDataUint8ClampedArrayCid: |
936 case kExternalTypedDataUint8ArrayCid: | 939 case kExternalTypedDataUint8ArrayCid: |
937 case kExternalTypedDataUint8ClampedArrayCid: | 940 case kExternalTypedDataUint8ClampedArrayCid: |
938 case kTypedDataInt16ArrayCid: | 941 case kTypedDataInt16ArrayCid: |
(...skipping 4829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5768 __ movq(R10, Immediate(kInvalidObjectPointer)); | 5771 __ movq(R10, Immediate(kInvalidObjectPointer)); |
5769 __ movq(RBX, Immediate(kInvalidObjectPointer)); | 5772 __ movq(RBX, Immediate(kInvalidObjectPointer)); |
5770 #endif | 5773 #endif |
5771 } | 5774 } |
5772 | 5775 |
5773 } // namespace dart | 5776 } // namespace dart |
5774 | 5777 |
5775 #undef __ | 5778 #undef __ |
5776 | 5779 |
5777 #endif // defined TARGET_ARCH_X64 | 5780 #endif // defined TARGET_ARCH_X64 |
OLD | NEW |