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

Side by Side Diff: include/v8.h

Issue 1048213002: Add a UseCounter for Object.observe (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use HandleScope instead of SealHandleScope in %GetObservationState Created 5 years, 8 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
« no previous file with comments | « no previous file | src/runtime/runtime-observe.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 // 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 5128 matching lines...) Expand 10 before | Expand all | Expand 10 after
5139 * assigned numbers of existing items; add new features to the end of this 5139 * assigned numbers of existing items; add new features to the end of this
5140 * list. 5140 * list.
5141 */ 5141 */
5142 enum UseCounterFeature { 5142 enum UseCounterFeature {
5143 kUseAsm = 0, 5143 kUseAsm = 0,
5144 kBreakIterator = 1, 5144 kBreakIterator = 1,
5145 kLegacyConst = 2, 5145 kLegacyConst = 2,
5146 kMarkDequeOverflow = 3, 5146 kMarkDequeOverflow = 3,
5147 kStoreBufferOverflow = 4, 5147 kStoreBufferOverflow = 4,
5148 kSlotsBufferOverflow = 5, 5148 kSlotsBufferOverflow = 5,
5149 kObjectObserve = 6,
5149 kUseCounterFeatureCount // This enum value must be last. 5150 kUseCounterFeatureCount // This enum value must be last.
5150 }; 5151 };
5151 5152
5152 typedef void (*UseCounterCallback)(Isolate* isolate, 5153 typedef void (*UseCounterCallback)(Isolate* isolate,
5153 UseCounterFeature feature); 5154 UseCounterFeature feature);
5154 5155
5155 5156
5156 /** 5157 /**
5157 * Creates a new isolate. Does not change the currently entered 5158 * Creates a new isolate. Does not change the currently entered
5158 * isolate. 5159 * isolate.
(...skipping 2899 matching lines...) Expand 10 before | Expand all | Expand 10 after
8058 */ 8059 */
8059 8060
8060 8061
8061 } // namespace v8 8062 } // namespace v8
8062 8063
8063 8064
8064 #undef TYPE_CHECK 8065 #undef TYPE_CHECK
8065 8066
8066 8067
8067 #endif // V8_H_ 8068 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/runtime/runtime-observe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698