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

Side by Side Diff: src/bootstrapper.cc

Issue 143003013: Initial patch for a64. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 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/atomicops.h ('k') | src/builtins.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 2587 matching lines...) Expand 10 before | Expand all | Expand 10 after
2598 Handle<JSGlobalProxy> global_proxy = 2598 Handle<JSGlobalProxy> global_proxy =
2599 CreateNewGlobals(global_template, global_object, &inner_global); 2599 CreateNewGlobals(global_template, global_object, &inner_global);
2600 HookUpGlobalProxy(inner_global, global_proxy); 2600 HookUpGlobalProxy(inner_global, global_proxy);
2601 if (!InitializeGlobal(inner_global, empty_function)) return; 2601 if (!InitializeGlobal(inner_global, empty_function)) return;
2602 InstallJSFunctionResultCaches(); 2602 InstallJSFunctionResultCaches();
2603 InitializeNormalizedMapCaches(); 2603 InitializeNormalizedMapCaches();
2604 if (!InstallNatives()) return; 2604 if (!InstallNatives()) return;
2605 2605
2606 MakeFunctionInstancePrototypeWritable(); 2606 MakeFunctionInstancePrototypeWritable();
2607 2607
2608 if (!ConfigureGlobalObjects(global_template)) return; 2608 if (!FLAG_disable_native_files) {
2609 isolate->counters()->contexts_created_from_scratch()->Increment(); 2609 if (!ConfigureGlobalObjects(global_template)) return;
2610 isolate->counters()->contexts_created_from_scratch()->Increment();
2611 }
2610 } 2612 }
2611 2613
2612 // Initialize experimental globals and install experimental natives. 2614 // Initialize experimental globals and install experimental natives.
2613 InitializeExperimentalGlobal(); 2615 InitializeExperimentalGlobal();
2614 if (!InstallExperimentalNatives()) return; 2616 if (!InstallExperimentalNatives()) return;
2615 2617
2616 result_ = native_context(); 2618 result_ = native_context();
2617 } 2619 }
2618 2620
2619 2621
(...skipping 19 matching lines...) Expand all
2639 return from + sizeof(NestingCounterType); 2641 return from + sizeof(NestingCounterType);
2640 } 2642 }
2641 2643
2642 2644
2643 // Called when the top-level V8 mutex is destroyed. 2645 // Called when the top-level V8 mutex is destroyed.
2644 void Bootstrapper::FreeThreadResources() { 2646 void Bootstrapper::FreeThreadResources() {
2645 ASSERT(!IsActive()); 2647 ASSERT(!IsActive());
2646 } 2648 }
2647 2649
2648 } } // namespace v8::internal 2650 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/atomicops.h ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698