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

Side by Side Diff: src/factory.h

Issue 23480031: Enable preaging of code objects when --optimize-for-size. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: bool -> enum Created 7 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/compiler.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 PretenureFlag pretenure = TENURED); 373 PretenureFlag pretenure = TENURED);
374 374
375 Handle<ScopeInfo> NewScopeInfo(int length); 375 Handle<ScopeInfo> NewScopeInfo(int length);
376 376
377 Handle<JSObject> NewExternal(void* value); 377 Handle<JSObject> NewExternal(void* value);
378 378
379 Handle<Code> NewCode(const CodeDesc& desc, 379 Handle<Code> NewCode(const CodeDesc& desc,
380 Code::Flags flags, 380 Code::Flags flags,
381 Handle<Object> self_reference, 381 Handle<Object> self_reference,
382 bool immovable = false, 382 bool immovable = false,
383 bool crankshafted = false); 383 bool crankshafted = false,
384 int prologue_offset = Code::kPrologueOffsetNotSet);
384 385
385 Handle<Code> CopyCode(Handle<Code> code); 386 Handle<Code> CopyCode(Handle<Code> code);
386 387
387 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info); 388 Handle<Code> CopyCode(Handle<Code> code, Vector<byte> reloc_info);
388 389
389 Handle<Object> ToObject(Handle<Object> object); 390 Handle<Object> ToObject(Handle<Object> object);
390 Handle<Object> ToObject(Handle<Object> object, 391 Handle<Object> ToObject(Handle<Object> object,
391 Handle<Context> native_context); 392 Handle<Context> native_context);
392 393
393 // Interface for creating error objects. 394 // Interface for creating error objects.
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 } 675 }
675 676
676 private: 677 private:
677 Isolate* isolate_; 678 Isolate* isolate_;
678 }; 679 };
679 680
680 681
681 } } // namespace v8::internal 682 } } // namespace v8::internal
682 683
683 #endif // V8_FACTORY_H_ 684 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698