Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1035)

Side by Side Diff: src/factory.h

Issue 6368051: A MessageObject is a purely internal object to hold information about (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/bootstrapper.cc ('k') | src/factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 return Handle<String>(&Heap::hidden_symbol_); 358 return Handle<String>(&Heap::hidden_symbol_);
359 } 359 }
360 360
361 static Handle<SharedFunctionInfo> NewSharedFunctionInfo( 361 static Handle<SharedFunctionInfo> NewSharedFunctionInfo(
362 Handle<String> name, 362 Handle<String> name,
363 int number_of_literals, 363 int number_of_literals,
364 Handle<Code> code, 364 Handle<Code> code,
365 Handle<SerializedScopeInfo> scope_info); 365 Handle<SerializedScopeInfo> scope_info);
366 static Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); 366 static Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name);
367 367
368 static Handle<JSMessageObject> NewJSMessageObject(
369 Handle<String> type,
370 Handle<JSArray> arguments,
371 int start_position,
372 int end_position,
373 Handle<Object> script,
374 Handle<Object> stack_trace,
375 Handle<Object> stack_frames);
376
368 static Handle<NumberDictionary> DictionaryAtNumberPut( 377 static Handle<NumberDictionary> DictionaryAtNumberPut(
369 Handle<NumberDictionary>, 378 Handle<NumberDictionary>,
370 uint32_t key, 379 uint32_t key,
371 Handle<Object> value); 380 Handle<Object> value);
372 381
373 #ifdef ENABLE_DEBUGGER_SUPPORT 382 #ifdef ENABLE_DEBUGGER_SUPPORT
374 static Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); 383 static Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared);
375 #endif 384 #endif
376 385
377 // Return a map using the map cache in the global context. 386 // Return a map using the map cache in the global context.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 // Update the map cache in the global context with (keys, map) 421 // Update the map cache in the global context with (keys, map)
413 static Handle<MapCache> AddToMapCache(Handle<Context> context, 422 static Handle<MapCache> AddToMapCache(Handle<Context> context,
414 Handle<FixedArray> keys, 423 Handle<FixedArray> keys,
415 Handle<Map> map); 424 Handle<Map> map);
416 }; 425 };
417 426
418 427
419 } } // namespace v8::internal 428 } } // namespace v8::internal
420 429
421 #endif // V8_FACTORY_H_ 430 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698