| 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/zone.h" | 10 #include "src/zone.h" |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 F(NumberXor, 2, 1) \ | 373 F(NumberXor, 2, 1) \ |
| 374 F(NumberShl, 2, 1) \ | 374 F(NumberShl, 2, 1) \ |
| 375 F(NumberShr, 2, 1) \ | 375 F(NumberShr, 2, 1) \ |
| 376 F(NumberSar, 2, 1) \ | 376 F(NumberSar, 2, 1) \ |
| 377 F(NumberEquals, 2, 1) \ | 377 F(NumberEquals, 2, 1) \ |
| 378 F(NumberCompare, 3, 1) \ | 378 F(NumberCompare, 3, 1) \ |
| 379 F(SmiLexicographicCompare, 2, 1) \ | 379 F(SmiLexicographicCompare, 2, 1) \ |
| 380 F(MaxSmi, 0, 1) \ | 380 F(MaxSmi, 0, 1) \ |
| 381 F(NumberToString, 1, 1) \ | 381 F(NumberToString, 1, 1) \ |
| 382 F(IsSmi, 1, 1) \ | 382 F(IsSmi, 1, 1) \ |
| 383 F(IsNonNegativeSmi, 1, 1) | 383 F(IsNonNegativeSmi, 1, 1) \ |
| 384 F(GetRootNaN, 0, 1) |
| 384 | 385 |
| 385 | 386 |
| 386 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 387 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
| 387 F(GetPrototype, 1, 1) \ | 388 F(GetPrototype, 1, 1) \ |
| 388 F(InternalSetPrototype, 2, 1) \ | 389 F(InternalSetPrototype, 2, 1) \ |
| 389 F(SetPrototype, 2, 1) \ | 390 F(SetPrototype, 2, 1) \ |
| 390 F(IsInPrototypeChain, 2, 1) \ | 391 F(IsInPrototypeChain, 2, 1) \ |
| 391 F(GetOwnProperty, 2, 1) \ | 392 F(GetOwnProperty, 2, 1) \ |
| 392 F(PreventExtensions, 1, 1) \ | 393 F(PreventExtensions, 1, 1) \ |
| 393 F(IsExtensible, 1, 1) \ | 394 F(IsExtensible, 1, 1) \ |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 858 | 859 |
| 859 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 860 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 860 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 861 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 861 STATIC_ASSERT(LANGUAGE_END == 3); | 862 STATIC_ASSERT(LANGUAGE_END == 3); |
| 862 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 863 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 863 | 864 |
| 864 } // namespace internal | 865 } // namespace internal |
| 865 } // namespace v8 | 866 } // namespace v8 |
| 866 | 867 |
| 867 #endif // V8_RUNTIME_RUNTIME_H_ | 868 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |