OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 F(NumberToExponential, 2, 1) \ | 204 F(NumberToExponential, 2, 1) \ |
205 F(NumberToPrecision, 2, 1) | 205 F(NumberToPrecision, 2, 1) |
206 | 206 |
207 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ | 207 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ |
208 /* Reflection */ \ | 208 /* Reflection */ \ |
209 F(FunctionSetInstanceClassName, 2, 1) \ | 209 F(FunctionSetInstanceClassName, 2, 1) \ |
210 F(FunctionSetLength, 2, 1) \ | 210 F(FunctionSetLength, 2, 1) \ |
211 F(FunctionSetPrototype, 2, 1) \ | 211 F(FunctionSetPrototype, 2, 1) \ |
212 F(FunctionGetName, 1, 1) \ | 212 F(FunctionGetName, 1, 1) \ |
213 F(FunctionSetName, 2, 1) \ | 213 F(FunctionSetName, 2, 1) \ |
| 214 F(FunctionSetBound, 1, 1) \ |
214 F(FunctionRemovePrototype, 1, 1) \ | 215 F(FunctionRemovePrototype, 1, 1) \ |
215 F(FunctionGetSourceCode, 1, 1) \ | 216 F(FunctionGetSourceCode, 1, 1) \ |
216 F(FunctionGetScript, 1, 1) \ | 217 F(FunctionGetScript, 1, 1) \ |
217 F(FunctionGetScriptSourcePosition, 1, 1) \ | 218 F(FunctionGetScriptSourcePosition, 1, 1) \ |
218 F(FunctionGetPositionForOffset, 2, 1) \ | 219 F(FunctionGetPositionForOffset, 2, 1) \ |
219 F(FunctionIsAPIFunction, 1, 1) \ | 220 F(FunctionIsAPIFunction, 1, 1) \ |
220 F(FunctionIsBuiltin, 1, 1) \ | 221 F(FunctionIsBuiltin, 1, 1) \ |
221 F(GetScript, 1, 1) \ | 222 F(GetScript, 1, 1) \ |
222 F(CollectStackTrace, 2, 1) \ | 223 F(CollectStackTrace, 2, 1) \ |
223 F(GetV8Version, 0, 1) \ | 224 F(GetV8Version, 0, 1) \ |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 Handle<Script> script, | 645 Handle<Script> script, |
645 int position); | 646 int position); |
646 | 647 |
647 // Helper functions used stubs. | 648 // Helper functions used stubs. |
648 static void PerformGC(Object* result); | 649 static void PerformGC(Object* result); |
649 }; | 650 }; |
650 | 651 |
651 } } // namespace v8::internal | 652 } } // namespace v8::internal |
652 | 653 |
653 #endif // V8_RUNTIME_H_ | 654 #endif // V8_RUNTIME_H_ |
OLD | NEW |