| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 // ECMA-262 9.8 | 99 // ECMA-262 9.8 |
| 100 static Handle<Object> ToDetailString(Handle<Object> obj, bool* exc); | 100 static Handle<Object> ToDetailString(Handle<Object> obj, bool* exc); |
| 101 | 101 |
| 102 // ECMA-262 9.9 | 102 // ECMA-262 9.9 |
| 103 static Handle<Object> ToObject(Handle<Object> obj, bool* exc); | 103 static Handle<Object> ToObject(Handle<Object> obj, bool* exc); |
| 104 | 104 |
| 105 // Create a new date object from 'time'. | 105 // Create a new date object from 'time'. |
| 106 static Handle<Object> NewDate(double time, bool* exc); | 106 static Handle<Object> NewDate(double time, bool* exc); |
| 107 | 107 |
| 108 // Create a new regular expression object from 'pattern' and 'flags'. |
| 109 static Handle<JSRegExp> NewJSRegExp(Handle<String> pattern, |
| 110 Handle<String> flags, |
| 111 bool* exc); |
| 112 |
| 108 // Used to implement [] notation on strings (calls JS code) | 113 // Used to implement [] notation on strings (calls JS code) |
| 109 static Handle<Object> CharAt(Handle<String> str, uint32_t index); | 114 static Handle<Object> CharAt(Handle<String> str, uint32_t index); |
| 110 | 115 |
| 111 static Handle<Object> GetFunctionFor(); | 116 static Handle<Object> GetFunctionFor(); |
| 112 static Handle<JSFunction> InstantiateFunction( | 117 static Handle<JSFunction> InstantiateFunction( |
| 113 Handle<FunctionTemplateInfo> data, bool* exc); | 118 Handle<FunctionTemplateInfo> data, bool* exc); |
| 114 static Handle<JSObject> InstantiateObject(Handle<ObjectTemplateInfo> data, | 119 static Handle<JSObject> InstantiateObject(Handle<ObjectTemplateInfo> data, |
| 115 bool* exc); | 120 bool* exc); |
| 116 static void ConfigureInstance(Handle<Object> instance, | 121 static void ConfigureInstance(Handle<Object> instance, |
| 117 Handle<Object> data, | 122 Handle<Object> data, |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 v8::Handle<v8::String> name); | 332 v8::Handle<v8::String> name); |
| 328 static v8::Handle<v8::Value> Externalize(const v8::Arguments& args); | 333 static v8::Handle<v8::Value> Externalize(const v8::Arguments& args); |
| 329 static v8::Handle<v8::Value> IsAscii(const v8::Arguments& args); | 334 static v8::Handle<v8::Value> IsAscii(const v8::Arguments& args); |
| 330 private: | 335 private: |
| 331 static const char* const kSource; | 336 static const char* const kSource; |
| 332 }; | 337 }; |
| 333 | 338 |
| 334 } } // namespace v8::internal | 339 } } // namespace v8::internal |
| 335 | 340 |
| 336 #endif // V8_EXECUTION_H_ | 341 #endif // V8_EXECUTION_H_ |
| OLD | NEW |