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

Side by Side Diff: src/factory.h

Issue 8551006: Version 3.7.9. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 1 month 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/extensions/gc-extension.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 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); 225 Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array);
226 226
227 Handle<FixedDoubleArray> CopyFixedDoubleArray( 227 Handle<FixedDoubleArray> CopyFixedDoubleArray(
228 Handle<FixedDoubleArray> array); 228 Handle<FixedDoubleArray> array);
229 229
230 // Numbers (eg, literals) are pretenured by the parser. 230 // Numbers (eg, literals) are pretenured by the parser.
231 Handle<Object> NewNumber(double value, 231 Handle<Object> NewNumber(double value,
232 PretenureFlag pretenure = NOT_TENURED); 232 PretenureFlag pretenure = NOT_TENURED);
233 233
234 Handle<Object> NewNumberFromInt(int value); 234 Handle<Object> NewNumberFromInt(int32_t value,
235 Handle<Object> NewNumberFromUint(uint32_t value); 235 PretenureFlag pretenure = NOT_TENURED);
236 Handle<Object> NewNumberFromUint(uint32_t value,
237 PretenureFlag pretenure = NOT_TENURED);
236 238
237 // These objects are used by the api to create env-independent data 239 // These objects are used by the api to create env-independent data
238 // structures in the heap. 240 // structures in the heap.
239 Handle<JSObject> NewNeanderObject(); 241 Handle<JSObject> NewNeanderObject();
240 242
241 Handle<JSObject> NewArgumentsObject(Handle<Object> callee, int length); 243 Handle<JSObject> NewArgumentsObject(Handle<Object> callee, int length);
242 244
243 // JS objects are pretenured when allocated by the bootstrapper and 245 // JS objects are pretenured when allocated by the bootstrapper and
244 // runtime. 246 // runtime.
245 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor, 247 Handle<JSObject> NewJSObject(Handle<JSFunction> constructor,
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 // Update the map cache in the global context with (keys, map) 481 // Update the map cache in the global context with (keys, map)
480 Handle<MapCache> AddToMapCache(Handle<Context> context, 482 Handle<MapCache> AddToMapCache(Handle<Context> context,
481 Handle<FixedArray> keys, 483 Handle<FixedArray> keys,
482 Handle<Map> map); 484 Handle<Map> map);
483 }; 485 };
484 486
485 487
486 } } // namespace v8::internal 488 } } // namespace v8::internal
487 489
488 #endif // V8_FACTORY_H_ 490 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/extensions/gc-extension.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698