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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 F(NumberToExponential, 2, 1) \ | 177 F(NumberToExponential, 2, 1) \ |
178 F(NumberToPrecision, 2, 1) | 178 F(NumberToPrecision, 2, 1) |
179 | 179 |
180 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ | 180 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ |
181 /* Reflection */ \ | 181 /* Reflection */ \ |
182 F(FunctionSetInstanceClassName, 2, 1) \ | 182 F(FunctionSetInstanceClassName, 2, 1) \ |
183 F(FunctionSetLength, 2, 1) \ | 183 F(FunctionSetLength, 2, 1) \ |
184 F(FunctionSetPrototype, 2, 1) \ | 184 F(FunctionSetPrototype, 2, 1) \ |
185 F(FunctionGetName, 1, 1) \ | 185 F(FunctionGetName, 1, 1) \ |
186 F(FunctionSetName, 2, 1) \ | 186 F(FunctionSetName, 2, 1) \ |
| 187 F(FunctionRemovePrototype, 1, 1) \ |
187 F(FunctionGetSourceCode, 1, 1) \ | 188 F(FunctionGetSourceCode, 1, 1) \ |
188 F(FunctionGetScript, 1, 1) \ | 189 F(FunctionGetScript, 1, 1) \ |
189 F(FunctionGetScriptSourcePosition, 1, 1) \ | 190 F(FunctionGetScriptSourcePosition, 1, 1) \ |
190 F(FunctionGetPositionForOffset, 2, 1) \ | 191 F(FunctionGetPositionForOffset, 2, 1) \ |
191 F(FunctionIsAPIFunction, 1, 1) \ | 192 F(FunctionIsAPIFunction, 1, 1) \ |
192 F(FunctionIsBuiltin, 1, 1) \ | 193 F(FunctionIsBuiltin, 1, 1) \ |
193 F(GetScript, 1, 1) \ | 194 F(GetScript, 1, 1) \ |
194 F(CollectStackTrace, 2, 1) \ | 195 F(CollectStackTrace, 2, 1) \ |
195 F(GetV8Version, 0, 1) \ | 196 F(GetV8Version, 0, 1) \ |
196 \ | 197 \ |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 int position); | 444 int position); |
444 | 445 |
445 // Helper functions used stubs. | 446 // Helper functions used stubs. |
446 static void PerformGC(Object* result); | 447 static void PerformGC(Object* result); |
447 }; | 448 }; |
448 | 449 |
449 | 450 |
450 } } // namespace v8::internal | 451 } } // namespace v8::internal |
451 | 452 |
452 #endif // V8_RUNTIME_H_ | 453 #endif // V8_RUNTIME_H_ |
OLD | NEW |