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

Side by Side Diff: src/assembler.h

Issue 146213004: A64: Synchronize with r16849. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | « src/arm/stub-cache-arm.cc ('k') | src/assembler.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) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 private: 128 private:
129 AssemblerBase* assembler_; 129 AssemblerBase* assembler_;
130 uint64_t old_enabled_; 130 uint64_t old_enabled_;
131 #else 131 #else
132 CpuFeatureScope(AssemblerBase* assembler, CpuFeature f) {} 132 CpuFeatureScope(AssemblerBase* assembler, CpuFeature f) {}
133 #endif 133 #endif
134 }; 134 };
135 135
136 136
137 // Enable a unsupported feature within a scope for cross-compiling for a
138 // different CPU.
139 class PlatformFeatureScope BASE_EMBEDDED {
140 public:
141 explicit PlatformFeatureScope(CpuFeature f);
142 ~PlatformFeatureScope();
143
144 private:
145 uint64_t old_supported_;
146 uint64_t old_found_by_runtime_probing_only_;
147 };
148
149
137 // ----------------------------------------------------------------------------- 150 // -----------------------------------------------------------------------------
138 // Labels represent pc locations; they are typically jump or call targets. 151 // Labels represent pc locations; they are typically jump or call targets.
139 // After declaration, a label can be freely used to denote known or (yet) 152 // After declaration, a label can be freely used to denote known or (yet)
140 // unknown pc location. Assembler::bind() is used to bind a label to the 153 // unknown pc location. Assembler::bind() is used to bind a label to the
141 // current pc. A label can be bound only once. 154 // current pc. A label can be bound only once.
142 155
143 class Label BASE_EMBEDDED { 156 class Label BASE_EMBEDDED {
144 public: 157 public:
145 enum Distance { 158 enum Distance {
146 kNear, kFar 159 kNear, kFar
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 public: 1043 public:
1031 NullCallWrapper() { } 1044 NullCallWrapper() { }
1032 virtual ~NullCallWrapper() { } 1045 virtual ~NullCallWrapper() { }
1033 virtual void BeforeCall(int call_size) const { } 1046 virtual void BeforeCall(int call_size) const { }
1034 virtual void AfterCall() const { } 1047 virtual void AfterCall() const { }
1035 }; 1048 };
1036 1049
1037 } } // namespace v8::internal 1050 } } // namespace v8::internal
1038 1051
1039 #endif // V8_ASSEMBLER_H_ 1052 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698