| 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/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
| 10 #include "src/objects.h" | 10 #include "src/objects.h" |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 F(IsConstructor, 1, 1) \ | 226 F(IsConstructor, 1, 1) \ |
| 227 F(SetForceInlineFlag, 1, 1) \ | 227 F(SetForceInlineFlag, 1, 1) \ |
| 228 F(Call, -1 /* >= 2 */, 1) \ | 228 F(Call, -1 /* >= 2 */, 1) \ |
| 229 F(ConvertReceiver, 1, 1) \ | 229 F(ConvertReceiver, 1, 1) \ |
| 230 F(IsFunction, 1, 1) \ | 230 F(IsFunction, 1, 1) \ |
| 231 F(FunctionToString, 1, 1) | 231 F(FunctionToString, 1, 1) |
| 232 | 232 |
| 233 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ | 233 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ |
| 234 F(CreateJSGeneratorObject, 0, 1) \ | 234 F(CreateJSGeneratorObject, 0, 1) \ |
| 235 F(SuspendJSGeneratorObject, 1, 1) \ | 235 F(SuspendJSGeneratorObject, 1, 1) \ |
| 236 F(ResumeJSGeneratorObject, 3, 1) \ | |
| 237 F(GeneratorClose, 1, 1) \ | 236 F(GeneratorClose, 1, 1) \ |
| 238 F(GeneratorGetFunction, 1, 1) \ | 237 F(GeneratorGetFunction, 1, 1) \ |
| 239 F(GeneratorGetReceiver, 1, 1) \ | 238 F(GeneratorGetReceiver, 1, 1) \ |
| 240 F(GeneratorGetInput, 1, 1) \ | 239 F(GeneratorGetInput, 1, 1) \ |
| 241 F(GeneratorGetContinuation, 1, 1) \ | 240 F(GeneratorGetContinuation, 1, 1) \ |
| 242 F(GeneratorGetSourcePosition, 1, 1) \ | 241 F(GeneratorGetSourcePosition, 1, 1) |
| 243 F(GeneratorNext, 2, 1) \ | |
| 244 F(GeneratorReturn, 2, 1) \ | |
| 245 F(GeneratorThrow, 2, 1) | |
| 246 | |
| 247 | 242 |
| 248 #ifdef V8_I18N_SUPPORT | 243 #ifdef V8_I18N_SUPPORT |
| 249 #define FOR_EACH_INTRINSIC_I18N(F) \ | 244 #define FOR_EACH_INTRINSIC_I18N(F) \ |
| 250 F(CanonicalizeLanguageTag, 1, 1) \ | 245 F(CanonicalizeLanguageTag, 1, 1) \ |
| 251 F(AvailableLocalesOf, 1, 1) \ | 246 F(AvailableLocalesOf, 1, 1) \ |
| 252 F(GetDefaultICULocale, 0, 1) \ | 247 F(GetDefaultICULocale, 0, 1) \ |
| 253 F(GetLanguageTagVariants, 1, 1) \ | 248 F(GetLanguageTagVariants, 1, 1) \ |
| 254 F(IsInitializedIntlObject, 1, 1) \ | 249 F(IsInitializedIntlObject, 1, 1) \ |
| 255 F(IsInitializedIntlObjectOfType, 2, 1) \ | 250 F(IsInitializedIntlObjectOfType, 2, 1) \ |
| 256 F(MarkAsInitializedIntlObjectOfType, 3, 1) \ | 251 F(MarkAsInitializedIntlObjectOfType, 3, 1) \ |
| (...skipping 25 matching lines...) Expand all Loading... |
| 282 F(Throw, 1, 1) \ | 277 F(Throw, 1, 1) \ |
| 283 F(ReThrow, 1, 1) \ | 278 F(ReThrow, 1, 1) \ |
| 284 F(UnwindAndFindExceptionHandler, 0, 1) \ | 279 F(UnwindAndFindExceptionHandler, 0, 1) \ |
| 285 F(PromoteScheduledException, 0, 1) \ | 280 F(PromoteScheduledException, 0, 1) \ |
| 286 F(ThrowReferenceError, 1, 1) \ | 281 F(ThrowReferenceError, 1, 1) \ |
| 287 F(ThrowApplyNonFunction, 1, 1) \ | 282 F(ThrowApplyNonFunction, 1, 1) \ |
| 288 F(NewTypeError, 2, 1) \ | 283 F(NewTypeError, 2, 1) \ |
| 289 F(NewSyntaxError, 2, 1) \ | 284 F(NewSyntaxError, 2, 1) \ |
| 290 F(NewReferenceError, 2, 1) \ | 285 F(NewReferenceError, 2, 1) \ |
| 291 F(ThrowIllegalInvocation, 0, 1) \ | 286 F(ThrowIllegalInvocation, 0, 1) \ |
| 287 F(ThrowIncompatibleMethodReceiver, 2, 1) \ |
| 292 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 288 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
| 289 F(ThrowGeneratorRunning, 0, 1) \ |
| 293 F(ThrowStackOverflow, 0, 1) \ | 290 F(ThrowStackOverflow, 0, 1) \ |
| 294 F(PromiseRejectEvent, 3, 1) \ | 291 F(PromiseRejectEvent, 3, 1) \ |
| 295 F(PromiseRevokeReject, 1, 1) \ | 292 F(PromiseRevokeReject, 1, 1) \ |
| 296 F(StackGuard, 0, 1) \ | 293 F(StackGuard, 0, 1) \ |
| 297 F(Interrupt, 0, 1) \ | 294 F(Interrupt, 0, 1) \ |
| 298 F(AllocateInNewSpace, 1, 1) \ | 295 F(AllocateInNewSpace, 1, 1) \ |
| 299 F(AllocateInTargetSpace, 2, 1) \ | 296 F(AllocateInTargetSpace, 2, 1) \ |
| 300 F(CollectStackTrace, 2, 1) \ | 297 F(CollectStackTrace, 2, 1) \ |
| 301 F(MessageGetStartPosition, 1, 1) \ | 298 F(MessageGetStartPosition, 1, 1) \ |
| 302 F(MessageGetScript, 1, 1) \ | 299 F(MessageGetScript, 1, 1) \ |
| (...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1181 | 1178 |
| 1182 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1179 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1183 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1180 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1184 STATIC_ASSERT(LANGUAGE_END == 3); | 1181 STATIC_ASSERT(LANGUAGE_END == 3); |
| 1185 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1182 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 1186 | 1183 |
| 1187 } // namespace internal | 1184 } // namespace internal |
| 1188 } // namespace v8 | 1185 } // namespace v8 |
| 1189 | 1186 |
| 1190 #endif // V8_RUNTIME_RUNTIME_H_ | 1187 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |