OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 namespace v8 { | 98 namespace v8 { |
99 namespace internal { | 99 namespace internal { |
100 | 100 |
101 | 101 |
102 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ | 102 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ |
103 F(IsSmi, 1, 1) \ | 103 F(IsSmi, 1, 1) \ |
104 F(IsNonNegativeSmi, 1, 1) \ | 104 F(IsNonNegativeSmi, 1, 1) \ |
105 F(IsArray, 1, 1) \ | 105 F(IsArray, 1, 1) \ |
106 F(IsRegExp, 1, 1) \ | 106 F(IsRegExp, 1, 1) \ |
| 107 F(CallFunction, -1 /* receiver + n args + function */, 1) \ |
107 F(IsConstructCall, 0, 1) \ | 108 F(IsConstructCall, 0, 1) \ |
108 F(ArgumentsLength, 0, 1) \ | 109 F(ArgumentsLength, 0, 1) \ |
109 F(Arguments, 1, 1) \ | 110 F(Arguments, 1, 1) \ |
110 F(ClassOf, 1, 1) \ | 111 F(ClassOf, 1, 1) \ |
111 F(ValueOf, 1, 1) \ | 112 F(ValueOf, 1, 1) \ |
112 F(SetValueOf, 2, 1) \ | 113 F(SetValueOf, 2, 1) \ |
113 F(FastCharCodeAt, 2, 1) \ | 114 F(FastCharCodeAt, 2, 1) \ |
114 F(CharFromCode, 1, 1) \ | 115 F(CharFromCode, 1, 1) \ |
115 F(ObjectEquals, 2, 1) \ | 116 F(ObjectEquals, 2, 1) \ |
116 F(Log, 3, 1) \ | 117 F(Log, 3, 1) \ |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 private: | 600 private: |
600 Major MajorKey() { return ToBoolean; } | 601 Major MajorKey() { return ToBoolean; } |
601 int MinorKey() { return 0; } | 602 int MinorKey() { return 0; } |
602 }; | 603 }; |
603 | 604 |
604 | 605 |
605 } // namespace internal | 606 } // namespace internal |
606 } // namespace v8 | 607 } // namespace v8 |
607 | 608 |
608 #endif // V8_CODEGEN_H_ | 609 #endif // V8_CODEGEN_H_ |
OLD | NEW |