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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 F(NumberToSmi, 1, 1) \ | 377 F(NumberToSmi, 1, 1) \ |
378 F(SmiLexicographicCompare, 2, 1) \ | 378 F(SmiLexicographicCompare, 2, 1) \ |
379 F(MaxSmi, 0, 1) \ | 379 F(MaxSmi, 0, 1) \ |
380 F(IsSmi, 1, 1) \ | 380 F(IsSmi, 1, 1) \ |
381 F(GetRootNaN, 0, 1) \ | 381 F(GetRootNaN, 0, 1) \ |
382 F(GetHoleNaNUpper, 0, 1) \ | 382 F(GetHoleNaNUpper, 0, 1) \ |
383 F(GetHoleNaNLower, 0, 1) | 383 F(GetHoleNaNLower, 0, 1) |
384 | 384 |
385 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 385 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
386 F(GetPrototype, 1, 1) \ | 386 F(GetPrototype, 1, 1) \ |
| 387 F(ObjectHasOwnProperty, 2, 1) \ |
387 F(InternalSetPrototype, 2, 1) \ | 388 F(InternalSetPrototype, 2, 1) \ |
388 F(SetPrototype, 2, 1) \ | 389 F(SetPrototype, 2, 1) \ |
389 F(GetOwnProperty_Legacy, 2, 1) \ | 390 F(GetOwnProperty_Legacy, 2, 1) \ |
390 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 391 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
391 F(GetProperty, 2, 1) \ | 392 F(GetProperty, 2, 1) \ |
392 F(KeyedGetProperty, 2, 1) \ | 393 F(KeyedGetProperty, 2, 1) \ |
393 F(LoadGlobalViaContext, 1, 1) \ | 394 F(LoadGlobalViaContext, 1, 1) \ |
394 F(StoreGlobalViaContext_Sloppy, 2, 1) \ | 395 F(StoreGlobalViaContext_Sloppy, 2, 1) \ |
395 F(StoreGlobalViaContext_Strict, 2, 1) \ | 396 F(StoreGlobalViaContext_Strict, 2, 1) \ |
396 F(AddNamedProperty, 4, 1) \ | 397 F(AddNamedProperty, 4, 1) \ |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1182 | 1183 |
1183 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1184 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1184 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1185 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1185 STATIC_ASSERT(LANGUAGE_END == 3); | 1186 STATIC_ASSERT(LANGUAGE_END == 3); |
1186 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1187 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1187 | 1188 |
1188 } // namespace internal | 1189 } // namespace internal |
1189 } // namespace v8 | 1190 } // namespace v8 |
1190 | 1191 |
1191 #endif // V8_RUNTIME_RUNTIME_H_ | 1192 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |