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

Side by Side Diff: src/bootstrapper.h

Issue 2732213005: Revert "This is a speculative chain of reverts to improve a Chrome" (Closed)
Patch Set: merge Created 3 years, 9 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 | « BUILD.gn ('k') | src/bootstrapper.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_BOOTSTRAPPER_H_ 5 #ifndef V8_BOOTSTRAPPER_H_
6 #define V8_BOOTSTRAPPER_H_ 6 #define V8_BOOTSTRAPPER_H_
7 7
8 #include "src/factory.h" 8 #include "src/factory.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // Used for new context creation. 109 // Used for new context creation.
110 bool InstallExtensions(Handle<Context> native_context, 110 bool InstallExtensions(Handle<Context> native_context,
111 v8::ExtensionConfiguration* extensions); 111 v8::ExtensionConfiguration* extensions);
112 112
113 SourceCodeCache* extensions_cache() { return &extensions_cache_; } 113 SourceCodeCache* extensions_cache() { return &extensions_cache_; }
114 114
115 static bool CompileNative(Isolate* isolate, Vector<const char> name, 115 static bool CompileNative(Isolate* isolate, Vector<const char> name,
116 Handle<String> source, int argc, 116 Handle<String> source, int argc,
117 Handle<Object> argv[], NativesFlag natives_flag); 117 Handle<Object> argv[], NativesFlag natives_flag);
118 static bool CompileBuiltin(Isolate* isolate, int index); 118 static bool CompileBuiltin(Isolate* isolate, int index);
119 static bool CompileExperimentalBuiltin(Isolate* isolate, int index);
120 static bool CompileExtraBuiltin(Isolate* isolate, int index); 119 static bool CompileExtraBuiltin(Isolate* isolate, int index);
121 static bool CompileExperimentalExtraBuiltin(Isolate* isolate, int index); 120 static bool CompileExperimentalExtraBuiltin(Isolate* isolate, int index);
122 121
123 static void ExportFromRuntime(Isolate* isolate, Handle<JSObject> container); 122 static void ExportFromRuntime(Isolate* isolate, Handle<JSObject> container);
124 123
125 private: 124 private:
126 Isolate* isolate_; 125 Isolate* isolate_;
127 typedef int NestingCounterType; 126 typedef int NestingCounterType;
128 NestingCounterType nesting_; 127 NestingCounterType nesting_;
129 SourceCodeCache extensions_cache_; 128 SourceCodeCache extensions_cache_;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 172
174 private: 173 private:
175 const char* data_; 174 const char* data_;
176 size_t length_; 175 size_t length_;
177 }; 176 };
178 177
179 } // namespace internal 178 } // namespace internal
180 } // namespace v8 179 } // namespace v8
181 180
182 #endif // V8_BOOTSTRAPPER_H_ 181 #endif // V8_BOOTSTRAPPER_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698