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

Side by Side Diff: src/factory.h

Issue 8138003: Make 'Become' safe for retries. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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 | « no previous file | 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 void SetContent(Handle<JSArray> array, Handle<FixedArray> elements); 258 void SetContent(Handle<JSArray> array, Handle<FixedArray> elements);
259 259
260 void EnsureCanContainNonSmiElements(Handle<JSArray> array); 260 void EnsureCanContainNonSmiElements(Handle<JSArray> array);
261 261
262 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); 262 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype);
263 263
264 // Change the type of the argument into a JS object/function and reinitialize. 264 // Change the type of the argument into a JS object/function and reinitialize.
265 void BecomeJSObject(Handle<JSReceiver> object); 265 void BecomeJSObject(Handle<JSReceiver> object);
266 void BecomeJSFunction(Handle<JSReceiver> object); 266 void BecomeJSFunction(Handle<JSReceiver> object);
267 267
268 void SetIdentityHash(Handle<JSObject> object, Object* hash);
269
268 Handle<JSFunction> NewFunction(Handle<String> name, 270 Handle<JSFunction> NewFunction(Handle<String> name,
269 Handle<Object> prototype); 271 Handle<Object> prototype);
270 272
271 Handle<JSFunction> NewFunctionWithoutPrototype( 273 Handle<JSFunction> NewFunctionWithoutPrototype(
272 Handle<String> name, 274 Handle<String> name,
273 StrictModeFlag strict_mode); 275 StrictModeFlag strict_mode);
274 276
275 Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global); 277 Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global);
276 278
277 Handle<JSFunction> BaseNewFunctionFromSharedFunctionInfo( 279 Handle<JSFunction> BaseNewFunctionFromSharedFunctionInfo(
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 // Update the map cache in the global context with (keys, map) 471 // Update the map cache in the global context with (keys, map)
470 Handle<MapCache> AddToMapCache(Handle<Context> context, 472 Handle<MapCache> AddToMapCache(Handle<Context> context,
471 Handle<FixedArray> keys, 473 Handle<FixedArray> keys,
472 Handle<Map> map); 474 Handle<Map> map);
473 }; 475 };
474 476
475 477
476 } } // namespace v8::internal 478 } } // namespace v8::internal
477 479
478 #endif // V8_FACTORY_H_ 480 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698