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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 F(NumberToSmi, 1, 1) \ | 370 F(NumberToSmi, 1, 1) \ |
371 F(SmiLexicographicCompare, 2, 1) \ | 371 F(SmiLexicographicCompare, 2, 1) \ |
372 F(MaxSmi, 0, 1) \ | 372 F(MaxSmi, 0, 1) \ |
373 F(IsSmi, 1, 1) \ | 373 F(IsSmi, 1, 1) \ |
374 F(GetHoleNaNUpper, 0, 1) \ | 374 F(GetHoleNaNUpper, 0, 1) \ |
375 F(GetHoleNaNLower, 0, 1) | 375 F(GetHoleNaNLower, 0, 1) |
376 | 376 |
377 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 377 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
378 F(AddDictionaryProperty, 3, 1) \ | 378 F(AddDictionaryProperty, 3, 1) \ |
379 F(GetPrototype, 1, 1) \ | 379 F(GetPrototype, 1, 1) \ |
| 380 F(ObjectKeys, 1, 1) \ |
380 F(ObjectHasOwnProperty, 2, 1) \ | 381 F(ObjectHasOwnProperty, 2, 1) \ |
381 F(ObjectCreate, 2, 1) \ | 382 F(ObjectCreate, 2, 1) \ |
382 F(InternalSetPrototype, 2, 1) \ | 383 F(InternalSetPrototype, 2, 1) \ |
383 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 384 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
384 F(GetProperty, 2, 1) \ | 385 F(GetProperty, 2, 1) \ |
385 F(KeyedGetProperty, 2, 1) \ | 386 F(KeyedGetProperty, 2, 1) \ |
386 F(AddNamedProperty, 4, 1) \ | 387 F(AddNamedProperty, 4, 1) \ |
387 F(SetProperty, 4, 1) \ | 388 F(SetProperty, 4, 1) \ |
388 F(AddElement, 3, 1) \ | 389 F(AddElement, 3, 1) \ |
389 F(AppendElement, 2, 1) \ | 390 F(AppendElement, 2, 1) \ |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 kMaybeDeopted = 1 << 3, | 847 kMaybeDeopted = 1 << 3, |
847 kOptimized = 1 << 4, | 848 kOptimized = 1 << 4, |
848 kTurboFanned = 1 << 5, | 849 kTurboFanned = 1 << 5, |
849 kInterpreted = 1 << 6, | 850 kInterpreted = 1 << 6, |
850 }; | 851 }; |
851 | 852 |
852 } // namespace internal | 853 } // namespace internal |
853 } // namespace v8 | 854 } // namespace v8 |
854 | 855 |
855 #endif // V8_RUNTIME_RUNTIME_H_ | 856 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |