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

Side by Side Diff: src/bootstrapper.cc

Issue 134333011: Clean up some A64 specific code in common code that was introduced by A64 merge (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/a64/simulator-a64.cc ('k') | src/checks.h » ('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 2619 matching lines...) Expand 10 before | Expand all | Expand 10 after
2630 Handle<JSGlobalProxy> global_proxy = 2630 Handle<JSGlobalProxy> global_proxy =
2631 CreateNewGlobals(global_template, global_object, &inner_global); 2631 CreateNewGlobals(global_template, global_object, &inner_global);
2632 HookUpGlobalProxy(inner_global, global_proxy); 2632 HookUpGlobalProxy(inner_global, global_proxy);
2633 InitializeGlobal(inner_global, empty_function); 2633 InitializeGlobal(inner_global, empty_function);
2634 InstallJSFunctionResultCaches(); 2634 InstallJSFunctionResultCaches();
2635 InitializeNormalizedMapCaches(); 2635 InitializeNormalizedMapCaches();
2636 if (!InstallNatives()) return; 2636 if (!InstallNatives()) return;
2637 2637
2638 MakeFunctionInstancePrototypeWritable(); 2638 MakeFunctionInstancePrototypeWritable();
2639 2639
2640 if (!FLAG_disable_native_files) { 2640 if (!ConfigureGlobalObjects(global_template)) return;
2641 if (!ConfigureGlobalObjects(global_template)) return; 2641 isolate->counters()->contexts_created_from_scratch()->Increment();
2642 isolate->counters()->contexts_created_from_scratch()->Increment();
2643 }
2644 } 2642 }
2645 2643
2646 // Initialize experimental globals and install experimental natives. 2644 // Initialize experimental globals and install experimental natives.
2647 InitializeExperimentalGlobal(); 2645 InitializeExperimentalGlobal();
2648 if (!InstallExperimentalNatives()) return; 2646 if (!InstallExperimentalNatives()) return;
2649 2647
2650 // We can't (de-)serialize typed arrays currently, but we are lucky: The state 2648 // We can't (de-)serialize typed arrays currently, but we are lucky: The state
2651 // of the random number generator needs no initialization during snapshot 2649 // of the random number generator needs no initialization during snapshot
2652 // creation time and we don't need trigonometric functions then. 2650 // creation time and we don't need trigonometric functions then.
2653 if (!Serializer::enabled()) { 2651 if (!Serializer::enabled()) {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
2735 return from + sizeof(NestingCounterType); 2733 return from + sizeof(NestingCounterType);
2736 } 2734 }
2737 2735
2738 2736
2739 // Called when the top-level V8 mutex is destroyed. 2737 // Called when the top-level V8 mutex is destroyed.
2740 void Bootstrapper::FreeThreadResources() { 2738 void Bootstrapper::FreeThreadResources() {
2741 ASSERT(!IsActive()); 2739 ASSERT(!IsActive());
2742 } 2740 }
2743 2741
2744 } } // namespace v8::internal 2742 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/a64/simulator-a64.cc ('k') | src/checks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698