OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 27 matching lines...) Expand all Loading... |
38 // release and debug mode. | 38 // release and debug mode. |
39 // This macro should only be used by the macro RUNTIME_FUNCTION_LIST. | 39 // This macro should only be used by the macro RUNTIME_FUNCTION_LIST. |
40 | 40 |
41 // WARNING: RUNTIME_FUNCTION_LIST_ALWAYS_* is a very large macro that caused | 41 // WARNING: RUNTIME_FUNCTION_LIST_ALWAYS_* is a very large macro that caused |
42 // MSVC Intellisense to crash. It was broken into two macros to work around | 42 // MSVC Intellisense to crash. It was broken into two macros to work around |
43 // this problem. Please avoid large recursive macros whenever possible. | 43 // this problem. Please avoid large recursive macros whenever possible. |
44 #define RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \ | 44 #define RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \ |
45 /* Property access */ \ | 45 /* Property access */ \ |
46 F(GetProperty, 2, 1) \ | 46 F(GetProperty, 2, 1) \ |
47 F(KeyedGetProperty, 2, 1) \ | 47 F(KeyedGetProperty, 2, 1) \ |
48 F(DeleteProperty, 2, 1) \ | 48 F(DeleteProperty, 3, 1) \ |
49 F(HasLocalProperty, 2, 1) \ | 49 F(HasLocalProperty, 2, 1) \ |
50 F(HasProperty, 2, 1) \ | 50 F(HasProperty, 2, 1) \ |
51 F(HasElement, 2, 1) \ | 51 F(HasElement, 2, 1) \ |
52 F(IsPropertyEnumerable, 2, 1) \ | 52 F(IsPropertyEnumerable, 2, 1) \ |
53 F(GetPropertyNames, 1, 1) \ | 53 F(GetPropertyNames, 1, 1) \ |
54 F(GetPropertyNamesFast, 1, 1) \ | 54 F(GetPropertyNamesFast, 1, 1) \ |
55 F(GetLocalPropertyNames, 1, 1) \ | 55 F(GetLocalPropertyNames, 1, 1) \ |
56 F(GetLocalElementNames, 1, 1) \ | 56 F(GetLocalElementNames, 1, 1) \ |
57 F(GetInterceptorInfo, 1, 1) \ | 57 F(GetInterceptorInfo, 1, 1) \ |
58 F(GetNamedInterceptorPropertyNames, 1, 1) \ | 58 F(GetNamedInterceptorPropertyNames, 1, 1) \ |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 int position); | 557 int position); |
558 | 558 |
559 // Helper functions used stubs. | 559 // Helper functions used stubs. |
560 static void PerformGC(Object* result); | 560 static void PerformGC(Object* result); |
561 }; | 561 }; |
562 | 562 |
563 | 563 |
564 } } // namespace v8::internal | 564 } } // namespace v8::internal |
565 | 565 |
566 #endif // V8_RUNTIME_H_ | 566 #endif // V8_RUNTIME_H_ |
OLD | NEW |