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

Side by Side Diff: src/v8.h

Issue 263933002: Introduce a microtask suppression scope and move microtask methods to isolate (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 7 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 | « src/isolate.cc ('k') | src/v8.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 // 5 //
6 // Top include for all V8 .cc files. 6 // Top include for all V8 .cc files.
7 // 7 //
8 8
9 #ifndef V8_V8_H_ 9 #ifndef V8_V8_H_
10 #define V8_V8_H_ 10 #define V8_V8_H_
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 // Allows an entropy source to be provided for use in random number 69 // Allows an entropy source to be provided for use in random number
70 // generation. 70 // generation.
71 static void SetEntropySource(EntropySource source); 71 static void SetEntropySource(EntropySource source);
72 // Support for return-address rewriting profilers. 72 // Support for return-address rewriting profilers.
73 static void SetReturnAddressLocationResolver( 73 static void SetReturnAddressLocationResolver(
74 ReturnAddressLocationResolver resolver); 74 ReturnAddressLocationResolver resolver);
75 // Support for entry hooking JITed code. 75 // Support for entry hooking JITed code.
76 static void SetFunctionEntryHook(FunctionEntryHook entry_hook); 76 static void SetFunctionEntryHook(FunctionEntryHook entry_hook);
77 77
78 static void RunMicrotasks(Isolate* isolate);
79
80 static v8::ArrayBuffer::Allocator* ArrayBufferAllocator() { 78 static v8::ArrayBuffer::Allocator* ArrayBufferAllocator() {
81 return array_buffer_allocator_; 79 return array_buffer_allocator_;
82 } 80 }
83 81
84 static void SetArrayBufferAllocator(v8::ArrayBuffer::Allocator *allocator) { 82 static void SetArrayBufferAllocator(v8::ArrayBuffer::Allocator *allocator) {
85 CHECK_EQ(NULL, array_buffer_allocator_); 83 CHECK_EQ(NULL, array_buffer_allocator_);
86 array_buffer_allocator_ = allocator; 84 array_buffer_allocator_ = allocator;
87 } 85 }
88 86
89 static void InitializePlatform(v8::Platform* platform); 87 static void InitializePlatform(v8::Platform* platform);
(...skipping 11 matching lines...) Expand all
101 }; 99 };
102 100
103 101
104 // JavaScript defines two kinds of 'nil'. 102 // JavaScript defines two kinds of 'nil'.
105 enum NilValue { kNullValue, kUndefinedValue }; 103 enum NilValue { kNullValue, kUndefinedValue };
106 104
107 105
108 } } // namespace v8::internal 106 } } // namespace v8::internal
109 107
110 #endif // V8_V8_H_ 108 #endif // V8_V8_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698