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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 F(IsSmi, 1, 1) \ | 411 F(IsSmi, 1, 1) \ |
412 F(GetRootNaN, 0, 1) \ | 412 F(GetRootNaN, 0, 1) \ |
413 F(GetHoleNaNUpper, 0, 1) \ | 413 F(GetHoleNaNUpper, 0, 1) \ |
414 F(GetHoleNaNLower, 0, 1) | 414 F(GetHoleNaNLower, 0, 1) |
415 | 415 |
416 | 416 |
417 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 417 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
418 F(GetPrototype, 1, 1) \ | 418 F(GetPrototype, 1, 1) \ |
419 F(InternalSetPrototype, 2, 1) \ | 419 F(InternalSetPrototype, 2, 1) \ |
420 F(SetPrototype, 2, 1) \ | 420 F(SetPrototype, 2, 1) \ |
421 F(GetOwnProperty, 2, 1) \ | |
422 F(GetOwnProperty_Legacy, 2, 1) \ | 421 F(GetOwnProperty_Legacy, 2, 1) \ |
423 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 422 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
424 F(GetProperty, 2, 1) \ | 423 F(GetProperty, 2, 1) \ |
425 F(GetPropertyStrong, 2, 1) \ | 424 F(GetPropertyStrong, 2, 1) \ |
426 F(KeyedGetProperty, 2, 1) \ | 425 F(KeyedGetProperty, 2, 1) \ |
427 F(KeyedGetPropertyStrong, 2, 1) \ | 426 F(KeyedGetPropertyStrong, 2, 1) \ |
428 F(LoadGlobalViaContext, 1, 1) \ | 427 F(LoadGlobalViaContext, 1, 1) \ |
429 F(StoreGlobalViaContext_Sloppy, 2, 1) \ | 428 F(StoreGlobalViaContext_Sloppy, 2, 1) \ |
430 F(StoreGlobalViaContext_Strict, 2, 1) \ | 429 F(StoreGlobalViaContext_Strict, 2, 1) \ |
431 F(AddNamedProperty, 4, 1) \ | 430 F(AddNamedProperty, 4, 1) \ |
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 | 1256 |
1258 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1257 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1259 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1258 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1260 STATIC_ASSERT(LANGUAGE_END == 3); | 1259 STATIC_ASSERT(LANGUAGE_END == 3); |
1261 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1260 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1262 | 1261 |
1263 } // namespace internal | 1262 } // namespace internal |
1264 } // namespace v8 | 1263 } // namespace v8 |
1265 | 1264 |
1266 #endif // V8_RUNTIME_RUNTIME_H_ | 1265 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |