| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 return Handle<String>(&isolate()->heap()->hidden_symbol_); | 359 return Handle<String>(&isolate()->heap()->hidden_symbol_); |
| 360 } | 360 } |
| 361 | 361 |
| 362 Handle<SharedFunctionInfo> NewSharedFunctionInfo( | 362 Handle<SharedFunctionInfo> NewSharedFunctionInfo( |
| 363 Handle<String> name, | 363 Handle<String> name, |
| 364 int number_of_literals, | 364 int number_of_literals, |
| 365 Handle<Code> code, | 365 Handle<Code> code, |
| 366 Handle<SerializedScopeInfo> scope_info); | 366 Handle<SerializedScopeInfo> scope_info); |
| 367 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); | 367 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); |
| 368 | 368 |
| 369 Handle<JSMessageObject> NewJSMessageObject( |
| 370 Handle<String> type, |
| 371 Handle<JSArray> arguments, |
| 372 int start_position, |
| 373 int end_position, |
| 374 Handle<Object> script, |
| 375 Handle<Object> stack_trace, |
| 376 Handle<Object> stack_frames); |
| 377 |
| 369 Handle<NumberDictionary> DictionaryAtNumberPut( | 378 Handle<NumberDictionary> DictionaryAtNumberPut( |
| 370 Handle<NumberDictionary>, | 379 Handle<NumberDictionary>, |
| 371 uint32_t key, | 380 uint32_t key, |
| 372 Handle<Object> value); | 381 Handle<Object> value); |
| 373 | 382 |
| 374 #ifdef ENABLE_DEBUGGER_SUPPORT | 383 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 375 Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); | 384 Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); |
| 376 #endif | 385 #endif |
| 377 | 386 |
| 378 // Return a map using the map cache in the global context. | 387 // Return a map using the map cache in the global context. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 // Update the map cache in the global context with (keys, map) | 424 // Update the map cache in the global context with (keys, map) |
| 416 Handle<MapCache> AddToMapCache(Handle<Context> context, | 425 Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 417 Handle<FixedArray> keys, | 426 Handle<FixedArray> keys, |
| 418 Handle<Map> map); | 427 Handle<Map> map); |
| 419 }; | 428 }; |
| 420 | 429 |
| 421 | 430 |
| 422 } } // namespace v8::internal | 431 } } // namespace v8::internal |
| 423 | 432 |
| 424 #endif // V8_FACTORY_H_ | 433 #endif // V8_FACTORY_H_ |
| OLD | NEW |