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

Side by Side Diff: src/factory.h

Issue 40317: Added unique id to all scripts (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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/debug-delay.js ('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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 static Handle<Map> CopyMapDropTransitions(Handle<Map> map); 164 static Handle<Map> CopyMapDropTransitions(Handle<Map> map);
165 165
166 static Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array); 166 static Handle<FixedArray> CopyFixedArray(Handle<FixedArray> array);
167 167
168 // Numbers (eg, literals) are pretenured by the parser. 168 // Numbers (eg, literals) are pretenured by the parser.
169 static Handle<Object> NewNumber(double value, 169 static Handle<Object> NewNumber(double value,
170 PretenureFlag pretenure = NOT_TENURED); 170 PretenureFlag pretenure = NOT_TENURED);
171 171
172 static Handle<Object> NewNumberFromInt(int value); 172 static Handle<Object> NewNumberFromInt(int value);
173 static Handle<Object> NewNumberFromUint(uint32_t value);
173 174
174 // These objects are used by the api to create env-independent data 175 // These objects are used by the api to create env-independent data
175 // structures in the heap. 176 // structures in the heap.
176 static Handle<JSObject> NewNeanderObject(); 177 static Handle<JSObject> NewNeanderObject();
177 178
178 static Handle<JSObject> NewArgumentsObject(Handle<Object> callee, int length); 179 static Handle<JSObject> NewArgumentsObject(Handle<Object> callee, int length);
179 180
180 // JS objects are pretenured when allocated by the bootstrapper and 181 // JS objects are pretenured when allocated by the bootstrapper and
181 // runtime. 182 // runtime.
182 static Handle<JSObject> NewJSObject(Handle<JSFunction> constructor, 183 static Handle<JSObject> NewJSObject(Handle<JSFunction> constructor,
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 // Update the map cache in the global context with (keys, map) 342 // Update the map cache in the global context with (keys, map)
342 static Handle<MapCache> AddToMapCache(Handle<Context> context, 343 static Handle<MapCache> AddToMapCache(Handle<Context> context,
343 Handle<FixedArray> keys, 344 Handle<FixedArray> keys,
344 Handle<Map> map); 345 Handle<Map> map);
345 }; 346 };
346 347
347 348
348 } } // namespace v8::internal 349 } } // namespace v8::internal
349 350
350 #endif // V8_FACTORY_H_ 351 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/debug-delay.js ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698