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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 F(MaxSmi, 0, 1) \ | 372 F(MaxSmi, 0, 1) \ |
373 F(IsSmi, 1, 1) \ | 373 F(IsSmi, 1, 1) \ |
374 F(GetRootNaN, 0, 1) \ | 374 F(GetRootNaN, 0, 1) \ |
375 F(GetHoleNaNUpper, 0, 1) \ | 375 F(GetHoleNaNUpper, 0, 1) \ |
376 F(GetHoleNaNLower, 0, 1) | 376 F(GetHoleNaNLower, 0, 1) |
377 | 377 |
378 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 378 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
379 F(GetPrototype, 1, 1) \ | 379 F(GetPrototype, 1, 1) \ |
380 F(ObjectHasOwnProperty, 2, 1) \ | 380 F(ObjectHasOwnProperty, 2, 1) \ |
381 F(InternalSetPrototype, 2, 1) \ | 381 F(InternalSetPrototype, 2, 1) \ |
| 382 F(SetPrototype, 2, 1) \ |
382 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 383 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
383 F(GetProperty, 2, 1) \ | 384 F(GetProperty, 2, 1) \ |
384 F(KeyedGetProperty, 2, 1) \ | 385 F(KeyedGetProperty, 2, 1) \ |
385 F(AddNamedProperty, 4, 1) \ | 386 F(AddNamedProperty, 4, 1) \ |
386 F(SetProperty, 4, 1) \ | 387 F(SetProperty, 4, 1) \ |
387 F(AddElement, 3, 1) \ | 388 F(AddElement, 3, 1) \ |
388 F(AppendElement, 2, 1) \ | 389 F(AppendElement, 2, 1) \ |
389 F(DeleteProperty_Sloppy, 2, 1) \ | 390 F(DeleteProperty_Sloppy, 2, 1) \ |
390 F(DeleteProperty_Strict, 2, 1) \ | 391 F(DeleteProperty_Strict, 2, 1) \ |
391 F(HasProperty, 2, 1) \ | 392 F(HasProperty, 2, 1) \ |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 | 1131 |
1131 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1132 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1132 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1133 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1133 STATIC_ASSERT(LANGUAGE_END == 2); | 1134 STATIC_ASSERT(LANGUAGE_END == 2); |
1134 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1135 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1135 | 1136 |
1136 } // namespace internal | 1137 } // namespace internal |
1137 } // namespace v8 | 1138 } // namespace v8 |
1138 | 1139 |
1139 #endif // V8_RUNTIME_RUNTIME_H_ | 1140 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |