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/zone.h" | 10 #include "src/zone.h" |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 F(ThrowStrongModeTooFewArguments, 0, 1) \ | 232 F(ThrowStrongModeTooFewArguments, 0, 1) \ |
233 F(IsConstructor, 1, 1) \ | 233 F(IsConstructor, 1, 1) \ |
234 F(SetForceInlineFlag, 1, 1) \ | 234 F(SetForceInlineFlag, 1, 1) \ |
235 F(FunctionBindArguments, 4, 1) \ | 235 F(FunctionBindArguments, 4, 1) \ |
236 F(BoundFunctionGetBindings, 1, 1) \ | 236 F(BoundFunctionGetBindings, 1, 1) \ |
237 F(NewObjectFromBound, 1, 1) \ | 237 F(NewObjectFromBound, 1, 1) \ |
238 F(Call, -1 /* >= 2 */, 1) \ | 238 F(Call, -1 /* >= 2 */, 1) \ |
239 F(Apply, 5, 1) \ | 239 F(Apply, 5, 1) \ |
240 F(GetFunctionDelegate, 1, 1) \ | 240 F(GetFunctionDelegate, 1, 1) \ |
241 F(GetConstructorDelegate, 1, 1) \ | 241 F(GetConstructorDelegate, 1, 1) \ |
| 242 F(GetOriginalConstructor, 0, 1) \ |
242 F(CallFunction, -1 /* receiver + n args + function */, 1) \ | 243 F(CallFunction, -1 /* receiver + n args + function */, 1) \ |
243 F(IsConstructCall, 0, 1) \ | 244 F(IsConstructCall, 0, 1) \ |
244 F(IsFunction, 1, 1) | 245 F(IsFunction, 1, 1) |
245 | 246 |
246 | 247 |
247 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ | 248 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ |
248 F(CreateJSGeneratorObject, 0, 1) \ | 249 F(CreateJSGeneratorObject, 0, 1) \ |
249 F(SuspendJSGeneratorObject, -1, 1) \ | 250 F(SuspendJSGeneratorObject, -1, 1) \ |
250 F(ResumeJSGeneratorObject, 3, 1) \ | 251 F(ResumeJSGeneratorObject, 3, 1) \ |
251 F(GeneratorClose, 1, 1) \ | 252 F(GeneratorClose, 1, 1) \ |
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
940 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 941 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
941 return size == 1 || size == 2 || size == 4; | 942 return size == 1 || size == 2 || size == 4; |
942 } | 943 } |
943 | 944 |
944 #endif | 945 #endif |
945 | 946 |
946 } // namespace internal | 947 } // namespace internal |
947 } // namespace v8 | 948 } // namespace v8 |
948 | 949 |
949 #endif // V8_RUNTIME_RUNTIME_H_ | 950 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |