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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 F(MaxSmi, 0, 1) \ | 424 F(MaxSmi, 0, 1) \ |
425 F(IsSmi, 1, 1) \ | 425 F(IsSmi, 1, 1) \ |
426 F(GetRootNaN, 0, 1) | 426 F(GetRootNaN, 0, 1) |
427 | 427 |
428 | 428 |
429 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 429 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
430 F(GetPrototype, 1, 1) \ | 430 F(GetPrototype, 1, 1) \ |
431 F(InternalSetPrototype, 2, 1) \ | 431 F(InternalSetPrototype, 2, 1) \ |
432 F(SetPrototype, 2, 1) \ | 432 F(SetPrototype, 2, 1) \ |
433 F(GetOwnProperty, 2, 1) \ | 433 F(GetOwnProperty, 2, 1) \ |
| 434 F(GetOwnProperty_Legacy, 2, 1) \ |
434 F(PreventExtensions, 1, 1) \ | 435 F(PreventExtensions, 1, 1) \ |
435 F(IsExtensible, 1, 1) \ | 436 F(IsExtensible, 1, 1) \ |
436 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 437 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
437 F(ObjectFreeze, 1, 1) \ | 438 F(ObjectFreeze, 1, 1) \ |
438 F(ObjectSeal, 1, 1) \ | 439 F(ObjectSeal, 1, 1) \ |
439 F(GetProperty, 2, 1) \ | 440 F(GetProperty, 2, 1) \ |
440 F(GetPropertyStrong, 2, 1) \ | 441 F(GetPropertyStrong, 2, 1) \ |
441 F(KeyedGetProperty, 2, 1) \ | 442 F(KeyedGetProperty, 2, 1) \ |
442 F(KeyedGetPropertyStrong, 2, 1) \ | 443 F(KeyedGetPropertyStrong, 2, 1) \ |
443 F(LoadGlobalViaContext, 1, 1) \ | 444 F(LoadGlobalViaContext, 1, 1) \ |
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1259 | 1260 |
1260 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1261 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1261 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1262 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1262 STATIC_ASSERT(LANGUAGE_END == 3); | 1263 STATIC_ASSERT(LANGUAGE_END == 3); |
1263 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1264 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1264 | 1265 |
1265 } // namespace internal | 1266 } // namespace internal |
1266 } // namespace v8 | 1267 } // namespace v8 |
1267 | 1268 |
1268 #endif // V8_RUNTIME_RUNTIME_H_ | 1269 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |