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

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

Issue 46873004: Revert "Do not directly load smi constants larger than a 16 bit payload on ia32." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « runtime/vm/assembler_mips.h ('k') | runtime/vm/flow_graph_compiler_ia32.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) 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_ASSEMBLER_X64_H_ 5 #ifndef VM_ASSEMBLER_X64_H_
6 #define VM_ASSEMBLER_X64_H_ 6 #define VM_ASSEMBLER_X64_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_x64.h directly; use assembler.h instead. 9 #error Do not include assembler_x64.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 void Unimplemented(const char* message); 840 void Unimplemented(const char* message);
841 void Untested(const char* message); 841 void Untested(const char* message);
842 void Unreachable(const char* message); 842 void Unreachable(const char* message);
843 843
844 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length); 844 static void InitializeMemoryWithBreakpoints(uword data, intptr_t length);
845 845
846 static const char* RegisterName(Register reg); 846 static const char* RegisterName(Register reg);
847 847
848 static const char* FpuRegisterName(FpuRegister reg); 848 static const char* FpuRegisterName(FpuRegister reg);
849 849
850 // On some other platforms, we draw a distinction between safe and unsafe
851 // smis.
852 static bool IsSafe(const Object& object) { return true; }
853 static bool IsSafeSmi(const Object& object) { return true; }
854
855 private: 850 private:
856 AssemblerBuffer buffer_; 851 AssemblerBuffer buffer_;
857 852
858 // Objects and jump targets. 853 // Objects and jump targets.
859 GrowableObjectArray& object_pool_; 854 GrowableObjectArray& object_pool_;
860 855
861 // Patchability of pool entries. 856 // Patchability of pool entries.
862 GrowableArray<Patchability> patchable_pool_entries_; 857 GrowableArray<Patchability> patchable_pool_entries_;
863 858
864 // Pair type parameter for DirectChainedHashMap. 859 // Pair type parameter for DirectChainedHashMap.
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 } 1042 }
1048 1043
1049 1044
1050 inline void Assembler::EmitOperandSizeOverride() { 1045 inline void Assembler::EmitOperandSizeOverride() {
1051 EmitUint8(0x66); 1046 EmitUint8(0x66);
1052 } 1047 }
1053 1048
1054 } // namespace dart 1049 } // namespace dart
1055 1050
1056 #endif // VM_ASSEMBLER_X64_H_ 1051 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_mips.h ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698