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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 F(GetHoleNaNUpper, 0, 1) \ | 416 F(GetHoleNaNUpper, 0, 1) \ |
417 F(GetHoleNaNLower, 0, 1) | 417 F(GetHoleNaNLower, 0, 1) |
418 | 418 |
419 | 419 |
420 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 420 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
421 F(GetPrototype, 1, 1) \ | 421 F(GetPrototype, 1, 1) \ |
422 F(InternalSetPrototype, 2, 1) \ | 422 F(InternalSetPrototype, 2, 1) \ |
423 F(SetPrototype, 2, 1) \ | 423 F(SetPrototype, 2, 1) \ |
424 F(GetOwnProperty, 2, 1) \ | 424 F(GetOwnProperty, 2, 1) \ |
425 F(GetOwnProperty_Legacy, 2, 1) \ | 425 F(GetOwnProperty_Legacy, 2, 1) \ |
426 F(PreventExtensions, 1, 1) \ | |
427 F(IsExtensible, 1, 1) \ | |
428 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 426 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
429 F(ObjectFreeze, 1, 1) \ | |
430 F(ObjectIsFrozen, 1, 1) \ | |
431 F(ObjectSeal, 1, 1) \ | |
432 F(ObjectIsSealed, 1, 1) \ | |
433 F(GetProperty, 2, 1) \ | 427 F(GetProperty, 2, 1) \ |
434 F(GetPropertyStrong, 2, 1) \ | 428 F(GetPropertyStrong, 2, 1) \ |
435 F(KeyedGetProperty, 2, 1) \ | 429 F(KeyedGetProperty, 2, 1) \ |
436 F(KeyedGetPropertyStrong, 2, 1) \ | 430 F(KeyedGetPropertyStrong, 2, 1) \ |
437 F(LoadGlobalViaContext, 1, 1) \ | 431 F(LoadGlobalViaContext, 1, 1) \ |
438 F(StoreGlobalViaContext_Sloppy, 2, 1) \ | 432 F(StoreGlobalViaContext_Sloppy, 2, 1) \ |
439 F(StoreGlobalViaContext_Strict, 2, 1) \ | 433 F(StoreGlobalViaContext_Strict, 2, 1) \ |
440 F(AddNamedProperty, 4, 1) \ | 434 F(AddNamedProperty, 4, 1) \ |
441 F(SetProperty, 4, 1) \ | 435 F(SetProperty, 4, 1) \ |
442 F(AddElement, 3, 1) \ | 436 F(AddElement, 3, 1) \ |
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1244 | 1238 |
1245 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1239 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1246 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1240 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1247 STATIC_ASSERT(LANGUAGE_END == 3); | 1241 STATIC_ASSERT(LANGUAGE_END == 3); |
1248 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1242 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1249 | 1243 |
1250 } // namespace internal | 1244 } // namespace internal |
1251 } // namespace v8 | 1245 } // namespace v8 |
1252 | 1246 |
1253 #endif // V8_RUNTIME_RUNTIME_H_ | 1247 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |