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

Side by Side Diff: src/bootstrapper.cc

Issue 1154793003: Revert of Hook up more import/exports in natives. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/arraybuffer.js ('k') | src/collection.js » ('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 #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 2405 matching lines...) Expand 10 before | Expand all | Expand 10 after
2416 if (!CompileExperimentalBuiltin(isolate(), i)) return false; \ 2416 if (!CompileExperimentalBuiltin(isolate(), i)) return false; \
2417 } \ 2417 } \
2418 } \ 2418 } \
2419 } 2419 }
2420 HARMONY_INPROGRESS(INSTALL_EXPERIMENTAL_NATIVES); 2420 HARMONY_INPROGRESS(INSTALL_EXPERIMENTAL_NATIVES);
2421 HARMONY_STAGED(INSTALL_EXPERIMENTAL_NATIVES); 2421 HARMONY_STAGED(INSTALL_EXPERIMENTAL_NATIVES);
2422 HARMONY_SHIPPING(INSTALL_EXPERIMENTAL_NATIVES); 2422 HARMONY_SHIPPING(INSTALL_EXPERIMENTAL_NATIVES);
2423 #undef INSTALL_EXPERIMENTAL_NATIVES 2423 #undef INSTALL_EXPERIMENTAL_NATIVES
2424 } 2424 }
2425 2425
2426 CallUtilsFunction(isolate(), "PostExperimentals");
2427
2428 InstallExperimentalNativeFunctions(); 2426 InstallExperimentalNativeFunctions();
2429 return true; 2427 return true;
2430 } 2428 }
2431 2429
2432 2430
2433 bool Genesis::InstallExtraNatives() { 2431 bool Genesis::InstallExtraNatives() {
2434 for (int i = ExtraNatives::GetDebuggerCount(); 2432 for (int i = ExtraNatives::GetDebuggerCount();
2435 i < ExtraNatives::GetBuiltinsCount(); i++) { 2433 i < ExtraNatives::GetBuiltinsCount(); i++) {
2436 if (!CompileExtraBuiltin(isolate(), i)) return false; 2434 if (!CompileExtraBuiltin(isolate(), i)) return false;
2437 } 2435 }
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
3047 return from + sizeof(NestingCounterType); 3045 return from + sizeof(NestingCounterType);
3048 } 3046 }
3049 3047
3050 3048
3051 // Called when the top-level V8 mutex is destroyed. 3049 // Called when the top-level V8 mutex is destroyed.
3052 void Bootstrapper::FreeThreadResources() { 3050 void Bootstrapper::FreeThreadResources() {
3053 DCHECK(!IsActive()); 3051 DCHECK(!IsActive());
3054 } 3052 }
3055 3053
3056 } } // namespace v8::internal 3054 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arraybuffer.js ('k') | src/collection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698