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

Side by Side Diff: include/v8.h

Issue 565047: * Add the partial context snapshot to the VM executable if... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/partial_snapshots/
Patch Set: Created 10 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
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/api.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2009 the V8 project authors. All rights reserved. 1 // Copyright 2007-2009 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 2568 matching lines...) Expand 10 before | Expand all | Expand 10 after
2579 /** Returns the global object of the context. */ 2579 /** Returns the global object of the context. */
2580 Local<Object> Global(); 2580 Local<Object> Global();
2581 2581
2582 /** 2582 /**
2583 * Detaches the global object from its context before 2583 * Detaches the global object from its context before
2584 * the global object can be reused to create a new context. 2584 * the global object can be reused to create a new context.
2585 */ 2585 */
2586 void DetachGlobal(); 2586 void DetachGlobal();
2587 2587
2588 /** Creates a new context. */ 2588 /** Creates a new context. */
2589 static Persistent<Context> New();
2589 static Persistent<Context> New( 2590 static Persistent<Context> New(
2590 ExtensionConfiguration* extensions = 0, 2591 ExtensionConfiguration* extensions,
2591 Handle<ObjectTemplate> global_template = Handle<ObjectTemplate>(), 2592 Handle<ObjectTemplate> global_template = Handle<ObjectTemplate>(),
2592 Handle<Value> global_object = Handle<Value>()); 2593 Handle<Value> global_object = Handle<Value>());
2593 2594
2594 /** Returns the last entered context. */ 2595 /** Returns the last entered context. */
2595 static Local<Context> GetEntered(); 2596 static Local<Context> GetEntered();
2596 2597
2597 /** Returns the context that is on the top of the stack. */ 2598 /** Returns the context that is on the top of the stack. */
2598 static Local<Context> GetCurrent(); 2599 static Local<Context> GetCurrent();
2599 2600
2600 /** 2601 /**
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
3227 3228
3228 } // namespace v8 3229 } // namespace v8
3229 3230
3230 3231
3231 #undef V8EXPORT 3232 #undef V8EXPORT
3232 #undef V8EXPORT_INLINE 3233 #undef V8EXPORT_INLINE
3233 #undef TYPE_CHECK 3234 #undef TYPE_CHECK
3234 3235
3235 3236
3236 #endif // V8_H_ 3237 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698