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

Side by Side Diff: include/v8.h

Issue 2490783004: [serializer] small fixes for blink snapshot. (Closed)
Patch Set: rebase and fix Created 4 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
« no previous file with comments | « PRESUBMIT.py ('k') | src/address-map.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 7557 matching lines...) Expand 10 before | Expand all | Expand 10 after
7568 friend class WeakCallbackInfo; 7568 friend class WeakCallbackInfo;
7569 template <class T> friend class Eternal; 7569 template <class T> friend class Eternal;
7570 template <class T> friend class PersistentBase; 7570 template <class T> friend class PersistentBase;
7571 template <class T, class M> friend class Persistent; 7571 template <class T, class M> friend class Persistent;
7572 friend class Context; 7572 friend class Context;
7573 }; 7573 };
7574 7574
7575 /** 7575 /**
7576 * Helper class to create a snapshot data blob. 7576 * Helper class to create a snapshot data blob.
7577 */ 7577 */
7578 class SnapshotCreator { 7578 class V8_EXPORT SnapshotCreator {
7579 public: 7579 public:
7580 enum class FunctionCodeHandling { kClear, kKeep }; 7580 enum class FunctionCodeHandling { kClear, kKeep };
7581 7581
7582 /** 7582 /**
7583 * Create and enter an isolate, and set it up for serialization. 7583 * Create and enter an isolate, and set it up for serialization.
7584 * The isolate is either created from scratch or from an existing snapshot. 7584 * The isolate is either created from scratch or from an existing snapshot.
7585 * The caller keeps ownership of the argument snapshot. 7585 * The caller keeps ownership of the argument snapshot.
7586 * \param existing_blob existing snapshot from which to create this one. 7586 * \param existing_blob existing snapshot from which to create this one.
7587 * \param external_references a null-terminated array of external references 7587 * \param external_references a null-terminated array of external references
7588 * that must be equivalent to CreateParams::external_references. 7588 * that must be equivalent to CreateParams::external_references.
(...skipping 2099 matching lines...) Expand 10 before | Expand all | Expand 10 after
9688 */ 9688 */
9689 9689
9690 9690
9691 } // namespace v8 9691 } // namespace v8
9692 9692
9693 9693
9694 #undef TYPE_CHECK 9694 #undef TYPE_CHECK
9695 9695
9696 9696
9697 #endif // INCLUDE_V8_H_ 9697 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « PRESUBMIT.py ('k') | src/address-map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698