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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 F(FunctionIsConciseMethod, 1, 1) \ | 229 F(FunctionIsConciseMethod, 1, 1) \ |
230 F(FunctionRemovePrototype, 1, 1) \ | 230 F(FunctionRemovePrototype, 1, 1) \ |
231 F(FunctionGetScript, 1, 1) \ | 231 F(FunctionGetScript, 1, 1) \ |
232 F(FunctionGetSourceCode, 1, 1) \ | 232 F(FunctionGetSourceCode, 1, 1) \ |
233 F(FunctionGetScriptSourcePosition, 1, 1) \ | 233 F(FunctionGetScriptSourcePosition, 1, 1) \ |
234 F(FunctionGetPositionForOffset, 2, 1) \ | 234 F(FunctionGetPositionForOffset, 2, 1) \ |
235 F(FunctionSetInstanceClassName, 2, 1) \ | 235 F(FunctionSetInstanceClassName, 2, 1) \ |
236 F(FunctionSetLength, 2, 1) \ | 236 F(FunctionSetLength, 2, 1) \ |
237 F(FunctionSetPrototype, 2, 1) \ | 237 F(FunctionSetPrototype, 2, 1) \ |
238 F(FunctionIsAPIFunction, 1, 1) \ | 238 F(FunctionIsAPIFunction, 1, 1) \ |
239 F(FunctionIsBuiltin, 1, 1) \ | 239 F(FunctionHidesSource, 1, 1) \ |
240 F(SetCode, 2, 1) \ | 240 F(SetCode, 2, 1) \ |
241 F(SetNativeFlag, 1, 1) \ | 241 F(SetNativeFlag, 1, 1) \ |
242 F(ThrowStrongModeTooFewArguments, 0, 1) \ | 242 F(ThrowStrongModeTooFewArguments, 0, 1) \ |
243 F(IsConstructor, 1, 1) \ | 243 F(IsConstructor, 1, 1) \ |
244 F(SetForceInlineFlag, 1, 1) \ | 244 F(SetForceInlineFlag, 1, 1) \ |
245 F(FunctionBindArguments, 4, 1) \ | 245 F(FunctionBindArguments, 4, 1) \ |
246 F(BoundFunctionGetBindings, 1, 1) \ | 246 F(BoundFunctionGetBindings, 1, 1) \ |
247 F(NewObjectFromBound, 1, 1) \ | 247 F(NewObjectFromBound, 1, 1) \ |
248 F(Call, -1 /* >= 2 */, 1) \ | 248 F(Call, -1 /* >= 2 */, 1) \ |
249 F(Apply, 5, 1) \ | 249 F(Apply, 5, 1) \ |
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1138 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 1138 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
1139 return size == 1 || size == 2 || size == 4; | 1139 return size == 1 || size == 2 || size == 4; |
1140 } | 1140 } |
1141 | 1141 |
1142 #endif | 1142 #endif |
1143 | 1143 |
1144 } // namespace internal | 1144 } // namespace internal |
1145 } // namespace v8 | 1145 } // namespace v8 |
1146 | 1146 |
1147 #endif // V8_RUNTIME_RUNTIME_H_ | 1147 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |