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

Side by Side Diff: src/bootstrapper.h

Issue 1670923003: [bootstrapper] extra natives must not use natives syntax. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test Created 4 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
« no previous file with comments | « no previous file | src/bootstrapper.cc » ('j') | src/globals.h » ('J')
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 void FreeThreadResources(); 102 void FreeThreadResources();
103 103
104 // Used for new context creation. 104 // Used for new context creation.
105 bool InstallExtensions(Handle<Context> native_context, 105 bool InstallExtensions(Handle<Context> native_context,
106 v8::ExtensionConfiguration* extensions); 106 v8::ExtensionConfiguration* extensions);
107 107
108 SourceCodeCache* extensions_cache() { return &extensions_cache_; } 108 SourceCodeCache* extensions_cache() { return &extensions_cache_; }
109 109
110 static bool CompileNative(Isolate* isolate, Vector<const char> name, 110 static bool CompileNative(Isolate* isolate, Vector<const char> name,
111 Handle<String> source, int argc, 111 Handle<String> source, int argc,
112 Handle<Object> argv[]); 112 Handle<Object> argv[], NativesFlag natives_flag);
113 static bool CompileBuiltin(Isolate* isolate, int index); 113 static bool CompileBuiltin(Isolate* isolate, int index);
114 static bool CompileExperimentalBuiltin(Isolate* isolate, int index); 114 static bool CompileExperimentalBuiltin(Isolate* isolate, int index);
115 static bool CompileExtraBuiltin(Isolate* isolate, int index); 115 static bool CompileExtraBuiltin(Isolate* isolate, int index);
116 static bool CompileExperimentalExtraBuiltin(Isolate* isolate, int index); 116 static bool CompileExperimentalExtraBuiltin(Isolate* isolate, int index);
117 117
118 static void ExportFromRuntime(Isolate* isolate, Handle<JSObject> container); 118 static void ExportFromRuntime(Isolate* isolate, Handle<JSObject> container);
119 static void ExportExperimentalFromRuntime(Isolate* isolate, 119 static void ExportExperimentalFromRuntime(Isolate* isolate,
120 Handle<JSObject> container); 120 Handle<JSObject> container);
121 121
122 private: 122 private:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 169
170 private: 170 private:
171 const char* data_; 171 const char* data_;
172 size_t length_; 172 size_t length_;
173 }; 173 };
174 174
175 } // namespace internal 175 } // namespace internal
176 } // namespace v8 176 } // namespace v8
177 177
178 #endif // V8_BOOTSTRAPPER_H_ 178 #endif // V8_BOOTSTRAPPER_H_
OLDNEW
« no previous file with comments | « no previous file | src/bootstrapper.cc » ('j') | src/globals.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698