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

Side by Side Diff: src/factory.h

Issue 2908009: Create a separate class to encapsulate ScopeInfo serialization.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 5 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/contexts.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 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 #undef SYMBOL_ACCESSOR 344 #undef SYMBOL_ACCESSOR
345 345
346 static Handle<String> hidden_symbol() { 346 static Handle<String> hidden_symbol() {
347 return Handle<String>(&Heap::hidden_symbol_); 347 return Handle<String>(&Heap::hidden_symbol_);
348 } 348 }
349 349
350 static Handle<SharedFunctionInfo> NewSharedFunctionInfo( 350 static Handle<SharedFunctionInfo> NewSharedFunctionInfo(
351 Handle<String> name, 351 Handle<String> name,
352 int number_of_literals, 352 int number_of_literals,
353 Handle<Code> code, 353 Handle<Code> code,
354 Handle<Object> scope_info); 354 Handle<SerializedScopeInfo> scope_info);
355 static Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); 355 static Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name);
356 356
357 static Handle<NumberDictionary> DictionaryAtNumberPut( 357 static Handle<NumberDictionary> DictionaryAtNumberPut(
358 Handle<NumberDictionary>, 358 Handle<NumberDictionary>,
359 uint32_t key, 359 uint32_t key,
360 Handle<Object> value); 360 Handle<Object> value);
361 361
362 #ifdef ENABLE_DEBUGGER_SUPPORT 362 #ifdef ENABLE_DEBUGGER_SUPPORT
363 static Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); 363 static Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared);
364 #endif 364 #endif
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 // Update the map cache in the global context with (keys, map) 401 // Update the map cache in the global context with (keys, map)
402 static Handle<MapCache> AddToMapCache(Handle<Context> context, 402 static Handle<MapCache> AddToMapCache(Handle<Context> context,
403 Handle<FixedArray> keys, 403 Handle<FixedArray> keys,
404 Handle<Map> map); 404 Handle<Map> map);
405 }; 405 };
406 406
407 407
408 } } // namespace v8::internal 408 } } // namespace v8::internal
409 409
410 #endif // V8_FACTORY_H_ 410 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/contexts.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698