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

Side by Side Diff: src/bootstrapper.cc

Issue 1265243003: Remove some outdated/unused declarations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 | « src/arguments.h ('k') | no next file » | 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 #include "src/bootstrapper.h" 5 #include "src/bootstrapper.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api-natives.h" 8 #include "src/api-natives.h"
9 #include "src/base/utils/random-number-generator.h" 9 #include "src/base/utils/random-number-generator.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 Handle<Map> CreateStrictFunctionMap(FunctionMode function_mode, 310 Handle<Map> CreateStrictFunctionMap(FunctionMode function_mode,
311 Handle<JSFunction> empty_function); 311 Handle<JSFunction> empty_function);
312 Handle<Map> CreateStrongFunctionMap(Handle<JSFunction> empty_function, 312 Handle<Map> CreateStrongFunctionMap(Handle<JSFunction> empty_function,
313 bool is_constructor); 313 bool is_constructor);
314 314
315 315
316 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, 316 void SetStrictFunctionInstanceDescriptor(Handle<Map> map,
317 FunctionMode function_mode); 317 FunctionMode function_mode);
318 void SetStrongFunctionInstanceDescriptor(Handle<Map> map); 318 void SetStrongFunctionInstanceDescriptor(Handle<Map> map);
319 319
320 static bool CompileBuiltin(Isolate* isolate, int index);
321 static bool CompileExperimentalBuiltin(Isolate* isolate, int index);
322 static bool CompileExtraBuiltin(Isolate* isolate, int index);
323 static bool CompileNative(Isolate* isolate, Vector<const char> name,
324 Handle<String> source, int argc,
325 Handle<Object> argv[]);
326
327 static bool CallUtilsFunction(Isolate* isolate, const char* name); 320 static bool CallUtilsFunction(Isolate* isolate, const char* name);
328 321
329 static bool CompileExtension(Isolate* isolate, v8::Extension* extension); 322 static bool CompileExtension(Isolate* isolate, v8::Extension* extension);
330 323
331 Isolate* isolate_; 324 Isolate* isolate_;
332 Handle<Context> result_; 325 Handle<Context> result_;
333 Handle<Context> native_context_; 326 Handle<Context> native_context_;
334 327
335 // Function maps. Function maps are created initially with a read only 328 // Function maps. Function maps are created initially with a read only
336 // prototype for the processing of JS builtins. Later the function maps are 329 // prototype for the processing of JS builtins. Later the function maps are
(...skipping 2924 matching lines...) Expand 10 before | Expand all | Expand 10 after
3261 } 3254 }
3262 3255
3263 3256
3264 // Called when the top-level V8 mutex is destroyed. 3257 // Called when the top-level V8 mutex is destroyed.
3265 void Bootstrapper::FreeThreadResources() { 3258 void Bootstrapper::FreeThreadResources() {
3266 DCHECK(!IsActive()); 3259 DCHECK(!IsActive());
3267 } 3260 }
3268 3261
3269 } // namespace internal 3262 } // namespace internal
3270 } // namespace v8 3263 } // namespace v8
OLDNEW
« no previous file with comments | « src/arguments.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698