OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ | 224 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ |
225 /* Reflection */ \ | 225 /* Reflection */ \ |
226 F(FunctionSetInstanceClassName, 2, 1) \ | 226 F(FunctionSetInstanceClassName, 2, 1) \ |
227 F(FunctionSetLength, 2, 1) \ | 227 F(FunctionSetLength, 2, 1) \ |
228 F(FunctionSetPrototype, 2, 1) \ | 228 F(FunctionSetPrototype, 2, 1) \ |
229 F(FunctionSetReadOnlyPrototype, 1, 1) \ | 229 F(FunctionSetReadOnlyPrototype, 1, 1) \ |
230 F(FunctionGetName, 1, 1) \ | 230 F(FunctionGetName, 1, 1) \ |
231 F(FunctionSetName, 2, 1) \ | 231 F(FunctionSetName, 2, 1) \ |
232 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ | 232 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ |
233 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ | 233 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ |
| 234 F(FunctionIsGenerator, 1, 1) \ |
234 F(FunctionBindArguments, 4, 1) \ | 235 F(FunctionBindArguments, 4, 1) \ |
235 F(BoundFunctionGetBindings, 1, 1) \ | 236 F(BoundFunctionGetBindings, 1, 1) \ |
236 F(FunctionRemovePrototype, 1, 1) \ | 237 F(FunctionRemovePrototype, 1, 1) \ |
237 F(FunctionGetSourceCode, 1, 1) \ | 238 F(FunctionGetSourceCode, 1, 1) \ |
238 F(FunctionGetScript, 1, 1) \ | 239 F(FunctionGetScript, 1, 1) \ |
239 F(FunctionGetScriptSourcePosition, 1, 1) \ | 240 F(FunctionGetScriptSourcePosition, 1, 1) \ |
240 F(FunctionGetPositionForOffset, 2, 1) \ | 241 F(FunctionGetPositionForOffset, 2, 1) \ |
241 F(FunctionIsAPIFunction, 1, 1) \ | 242 F(FunctionIsAPIFunction, 1, 1) \ |
242 F(FunctionIsBuiltin, 1, 1) \ | 243 F(FunctionIsBuiltin, 1, 1) \ |
243 F(GetScript, 1, 1) \ | 244 F(GetScript, 1, 1) \ |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 //--------------------------------------------------------------------------- | 774 //--------------------------------------------------------------------------- |
774 // Constants used by interface to runtime functions. | 775 // Constants used by interface to runtime functions. |
775 | 776 |
776 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 777 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
777 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 778 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
778 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 779 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
779 | 780 |
780 } } // namespace v8::internal | 781 } } // namespace v8::internal |
781 | 782 |
782 #endif // V8_RUNTIME_H_ | 783 #endif // V8_RUNTIME_H_ |
OLD | NEW |