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

Side by Side Diff: src/factory.h

Issue 6626072: Add the possibility for a code stub to be non-movable... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 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/code-stubs.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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 Handle<Map> function_map, 245 Handle<Map> function_map,
246 PretenureFlag pretenure); 246 PretenureFlag pretenure);
247 247
248 static Handle<JSFunction> NewFunctionFromSharedFunctionInfo( 248 static Handle<JSFunction> NewFunctionFromSharedFunctionInfo(
249 Handle<SharedFunctionInfo> function_info, 249 Handle<SharedFunctionInfo> function_info,
250 Handle<Context> context, 250 Handle<Context> context,
251 PretenureFlag pretenure = TENURED); 251 PretenureFlag pretenure = TENURED);
252 252
253 static Handle<Code> NewCode(const CodeDesc& desc, 253 static Handle<Code> NewCode(const CodeDesc& desc,
254 Code::Flags flags, 254 Code::Flags flags,
255 Handle<Object> self_reference); 255 Handle<Object> self_reference,
256 bool immovable = false);
256 257
257 static Handle<Code> CopyCode(Handle<Code> code); 258 static Handle<Code> CopyCode(Handle<Code> code);
258 259
259 static Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); 260 static Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info);
260 261
261 static Handle<Object> ToObject(Handle<Object> object); 262 static Handle<Object> ToObject(Handle<Object> object);
262 static Handle<Object> ToObject(Handle<Object> object, 263 static Handle<Object> ToObject(Handle<Object> object,
263 Handle<Context> global_context); 264 Handle<Context> global_context);
264 265
265 // Interface for creating error objects. 266 // Interface for creating error objects.
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 // Update the map cache in the global context with (keys, map) 424 // Update the map cache in the global context with (keys, map)
424 static Handle<MapCache> AddToMapCache(Handle<Context> context, 425 static Handle<MapCache> AddToMapCache(Handle<Context> context,
425 Handle<FixedArray> keys, 426 Handle<FixedArray> keys,
426 Handle<Map> map); 427 Handle<Map> map);
427 }; 428 };
428 429
429 430
430 } } // namespace v8::internal 431 } } // namespace v8::internal
431 432
432 #endif // V8_FACTORY_H_ 433 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698