| OLD | NEW |
| 1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-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 1959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1970 */ | 1970 */ |
| 1971 static void SetFlagsFromString(const char* str, int length); | 1971 static void SetFlagsFromString(const char* str, int length); |
| 1972 | 1972 |
| 1973 /** | 1973 /** |
| 1974 * Sets V8 flags from the command line. | 1974 * Sets V8 flags from the command line. |
| 1975 */ | 1975 */ |
| 1976 static void SetFlagsFromCommandLine(int* argc, | 1976 static void SetFlagsFromCommandLine(int* argc, |
| 1977 char** argv, | 1977 char** argv, |
| 1978 bool remove_flags); | 1978 bool remove_flags); |
| 1979 | 1979 |
| 1980 /** |
| 1981 * Get the js_arguments from the V8 flags. |
| 1982 */ |
| 1983 static Local<Array> GetJSArguments(); |
| 1984 |
| 1980 /** Get the version string. */ | 1985 /** Get the version string. */ |
| 1981 static const char* GetVersion(); | 1986 static const char* GetVersion(); |
| 1982 | 1987 |
| 1983 /** | 1988 /** |
| 1984 * Enables the host application to provide a mechanism for recording | 1989 * Enables the host application to provide a mechanism for recording |
| 1985 * statistics counters. | 1990 * statistics counters. |
| 1986 */ | 1991 */ |
| 1987 static void SetCounterFunction(CounterLookupCallback); | 1992 static void SetCounterFunction(CounterLookupCallback); |
| 1988 | 1993 |
| 1989 /** | 1994 /** |
| (...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2558 | 2563 |
| 2559 } // namespace v8 | 2564 } // namespace v8 |
| 2560 | 2565 |
| 2561 | 2566 |
| 2562 #undef V8EXPORT | 2567 #undef V8EXPORT |
| 2563 #undef V8EXPORT_INLINE | 2568 #undef V8EXPORT_INLINE |
| 2564 #undef TYPE_CHECK | 2569 #undef TYPE_CHECK |
| 2565 | 2570 |
| 2566 | 2571 |
| 2567 #endif // V8_H_ | 2572 #endif // V8_H_ |
| OLD | NEW |