OLD | NEW |
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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 135 |
136 | 136 |
137 // Enable a unsupported feature within a scope for cross-compiling for a | 137 // Enable a unsupported feature within a scope for cross-compiling for a |
138 // different CPU. | 138 // different CPU. |
139 class PlatformFeatureScope BASE_EMBEDDED { | 139 class PlatformFeatureScope BASE_EMBEDDED { |
140 public: | 140 public: |
141 explicit PlatformFeatureScope(CpuFeature f); | 141 explicit PlatformFeatureScope(CpuFeature f); |
142 ~PlatformFeatureScope(); | 142 ~PlatformFeatureScope(); |
143 | 143 |
144 private: | 144 private: |
145 uint64_t old_supported_; | 145 uint64_t old_cross_compile_; |
146 uint64_t old_found_by_runtime_probing_only_; | |
147 }; | 146 }; |
148 | 147 |
149 | 148 |
150 // ----------------------------------------------------------------------------- | 149 // ----------------------------------------------------------------------------- |
151 // Labels represent pc locations; they are typically jump or call targets. | 150 // Labels represent pc locations; they are typically jump or call targets. |
152 // After declaration, a label can be freely used to denote known or (yet) | 151 // After declaration, a label can be freely used to denote known or (yet) |
153 // unknown pc location. Assembler::bind() is used to bind a label to the | 152 // unknown pc location. Assembler::bind() is used to bind a label to the |
154 // current pc. A label can be bound only once. | 153 // current pc. A label can be bound only once. |
155 | 154 |
156 class Label BASE_EMBEDDED { | 155 class Label BASE_EMBEDDED { |
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 public: | 1068 public: |
1070 NullCallWrapper() { } | 1069 NullCallWrapper() { } |
1071 virtual ~NullCallWrapper() { } | 1070 virtual ~NullCallWrapper() { } |
1072 virtual void BeforeCall(int call_size) const { } | 1071 virtual void BeforeCall(int call_size) const { } |
1073 virtual void AfterCall() const { } | 1072 virtual void AfterCall() const { } |
1074 }; | 1073 }; |
1075 | 1074 |
1076 } } // namespace v8::internal | 1075 } } // namespace v8::internal |
1077 | 1076 |
1078 #endif // V8_ASSEMBLER_H_ | 1077 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |