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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 F(SuspendJSGeneratorObject, -1, 1) \ | 255 F(SuspendJSGeneratorObject, -1, 1) \ |
256 F(ResumeJSGeneratorObject, 3, 1) \ | 256 F(ResumeJSGeneratorObject, 3, 1) \ |
257 F(GeneratorClose, 1, 1) \ | 257 F(GeneratorClose, 1, 1) \ |
258 F(GeneratorGetFunction, 1, 1) \ | 258 F(GeneratorGetFunction, 1, 1) \ |
259 F(GeneratorGetContext, 1, 1) \ | 259 F(GeneratorGetContext, 1, 1) \ |
260 F(GeneratorGetReceiver, 1, 1) \ | 260 F(GeneratorGetReceiver, 1, 1) \ |
261 F(GeneratorGetInput, 1, 1) \ | 261 F(GeneratorGetInput, 1, 1) \ |
262 F(GeneratorGetContinuation, 1, 1) \ | 262 F(GeneratorGetContinuation, 1, 1) \ |
263 F(GeneratorGetSourcePosition, 1, 1) \ | 263 F(GeneratorGetSourcePosition, 1, 1) \ |
264 F(GeneratorNext, 2, 1) \ | 264 F(GeneratorNext, 2, 1) \ |
| 265 F(GeneratorReturn, 2, 1) \ |
265 F(GeneratorThrow, 2, 1) | 266 F(GeneratorThrow, 2, 1) |
266 | 267 |
267 | 268 |
268 #ifdef V8_I18N_SUPPORT | 269 #ifdef V8_I18N_SUPPORT |
269 #define FOR_EACH_INTRINSIC_I18N(F) \ | 270 #define FOR_EACH_INTRINSIC_I18N(F) \ |
270 F(CanonicalizeLanguageTag, 1, 1) \ | 271 F(CanonicalizeLanguageTag, 1, 1) \ |
271 F(AvailableLocalesOf, 1, 1) \ | 272 F(AvailableLocalesOf, 1, 1) \ |
272 F(GetDefaultICULocale, 0, 1) \ | 273 F(GetDefaultICULocale, 0, 1) \ |
273 F(GetLanguageTagVariants, 1, 1) \ | 274 F(GetLanguageTagVariants, 1, 1) \ |
274 F(IsInitializedIntlObject, 1, 1) \ | 275 F(IsInitializedIntlObject, 1, 1) \ |
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1256 | 1257 |
1257 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1258 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1258 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1259 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1259 STATIC_ASSERT(LANGUAGE_END == 3); | 1260 STATIC_ASSERT(LANGUAGE_END == 3); |
1260 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1261 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1261 | 1262 |
1262 } // namespace internal | 1263 } // namespace internal |
1263 } // namespace v8 | 1264 } // namespace v8 |
1264 | 1265 |
1265 #endif // V8_RUNTIME_RUNTIME_H_ | 1266 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |