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

Side by Side Diff: src/factory.h

Issue 27133: - Pass the knowledge whether the old GC is compacting to the GC prologue and ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 10 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
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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 static Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global); 200 static Handle<JSFunction> NewFunction(Handle<Object> super, bool is_global);
201 201
202 static Handle<JSFunction> NewFunctionFromBoilerplate( 202 static Handle<JSFunction> NewFunctionFromBoilerplate(
203 Handle<JSFunction> boilerplate, 203 Handle<JSFunction> boilerplate,
204 Handle<Context> context); 204 Handle<Context> context);
205 205
206 static Handle<Code> NewCode(const CodeDesc& desc, ScopeInfo<>* sinfo, 206 static Handle<Code> NewCode(const CodeDesc& desc, ScopeInfo<>* sinfo,
207 Code::Flags flags, Handle<Object> self_reference); 207 Code::Flags flags, Handle<Object> self_reference);
208 208
209 static Handle<Code> NewCode(const CodeDesc& desc, ScopeInfo<>* sinfo,
210 Code::Flags flags);
211
212 static Handle<Code> CopyCode(Handle<Code> code); 209 static Handle<Code> CopyCode(Handle<Code> code);
213 210
214 static Handle<Object> ToObject(Handle<Object> object, 211 static Handle<Object> ToObject(Handle<Object> object,
215 Handle<Context> global_context); 212 Handle<Context> global_context);
216 213
217 // Interface for creating error objects. 214 // Interface for creating error objects.
218 215
219 static Handle<Object> NewError(const char* maker, const char* type, 216 static Handle<Object> NewError(const char* maker, const char* type,
220 Handle<JSArray> args); 217 Handle<JSArray> args);
221 static Handle<Object> NewError(const char* maker, const char* type, 218 static Handle<Object> NewError(const char* maker, const char* type,
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 // Update the map cache in the global context with (keys, map) 341 // Update the map cache in the global context with (keys, map)
345 static Handle<MapCache> AddToMapCache(Handle<Context> context, 342 static Handle<MapCache> AddToMapCache(Handle<Context> context,
346 Handle<FixedArray> keys, 343 Handle<FixedArray> keys,
347 Handle<Map> map); 344 Handle<Map> map);
348 }; 345 };
349 346
350 347
351 } } // namespace v8::internal 348 } } // namespace v8::internal
352 349
353 #endif // V8_FACTORY_H_ 350 #endif // V8_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698