OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/objects.h" | 9 #include "src/objects.h" |
10 #include "src/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 | 212 |
213 #define FOR_EACH_INTRINSIC_FORIN(F) \ | 213 #define FOR_EACH_INTRINSIC_FORIN(F) \ |
214 F(ForInDone, 2, 1) \ | 214 F(ForInDone, 2, 1) \ |
215 F(ForInFilter, 2, 1) \ | 215 F(ForInFilter, 2, 1) \ |
216 F(ForInNext, 4, 1) \ | 216 F(ForInNext, 4, 1) \ |
217 F(ForInStep, 1, 1) | 217 F(ForInStep, 1, 1) |
218 | 218 |
219 | 219 |
220 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ | 220 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ |
221 F(IsSloppyModeFunction, 1, 1) \ | |
222 F(FunctionGetName, 1, 1) \ | 221 F(FunctionGetName, 1, 1) \ |
223 F(FunctionSetName, 2, 1) \ | 222 F(FunctionSetName, 2, 1) \ |
224 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ | 223 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ |
225 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ | 224 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ |
226 F(FunctionIsArrow, 1, 1) \ | 225 F(FunctionIsArrow, 1, 1) \ |
227 F(FunctionIsConciseMethod, 1, 1) \ | 226 F(FunctionIsConciseMethod, 1, 1) \ |
228 F(FunctionRemovePrototype, 1, 1) \ | 227 F(FunctionRemovePrototype, 1, 1) \ |
229 F(FunctionGetScript, 1, 1) \ | 228 F(FunctionGetScript, 1, 1) \ |
230 F(FunctionGetSourceCode, 1, 1) \ | 229 F(FunctionGetSourceCode, 1, 1) \ |
231 F(FunctionGetScriptSourcePosition, 1, 1) \ | 230 F(FunctionGetScriptSourcePosition, 1, 1) \ |
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1246 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1245 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1247 return size == 1 || size == 2 || size == 4; | 1246 return size == 1 || size == 2 || size == 4; |
1248 } | 1247 } |
1249 | 1248 |
1250 #endif | 1249 #endif |
1251 | 1250 |
1252 } // namespace internal | 1251 } // namespace internal |
1253 } // namespace v8 | 1252 } // namespace v8 |
1254 | 1253 |
1255 #endif // V8_RUNTIME_RUNTIME_H_ | 1254 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |