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

Side by Side Diff: src/isolate.cc

Issue 6597029: [Isolates] Merge r 6300:6500 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 9 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/isolate.h ('k') | src/json.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 2006-2010 the V8 project authors. All rights reserved. 1 // Copyright 2006-2010 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 641
642 CpuProfiler::Setup(); 642 CpuProfiler::Setup();
643 HeapProfiler::Setup(); 643 HeapProfiler::Setup();
644 644
645 // Setup the platform OS support. 645 // Setup the platform OS support.
646 OS::Setup(); 646 OS::Setup();
647 647
648 // Initialize other runtime facilities 648 // Initialize other runtime facilities
649 #if defined(USE_SIMULATOR) 649 #if defined(USE_SIMULATOR)
650 #if defined(V8_TARGET_ARCH_ARM) 650 #if defined(V8_TARGET_ARCH_ARM)
651 ::assembler::arm::Simulator::Initialize(); 651 Simulator::Initialize();
652 #elif defined(V8_TARGET_ARCH_MIPS) 652 #elif defined(V8_TARGET_ARCH_MIPS)
653 ::assembler::mips::Simulator::Initialize(); 653 ::assembler::mips::Simulator::Initialize();
654 #endif 654 #endif
655 #endif 655 #endif
656 656
657 { // NOLINT 657 { // NOLINT
658 // Ensure that the thread has a valid stack guard. The v8::Locker object 658 // Ensure that the thread has a valid stack guard. The v8::Locker object
659 // will ensure this too, but we don't have to use lockers if we are only 659 // will ensure this too, but we don't have to use lockers if we are only
660 // using one thread. 660 // using one thread.
661 ExecutionAccess lock(this); 661 ExecutionAccess lock(this);
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 // Reinit the current thread for the isolate it was running before this one. 798 // Reinit the current thread for the isolate it was running before this one.
799 SetIsolateThreadLocals(previous_isolate, previous_thread_data); 799 SetIsolateThreadLocals(previous_isolate, previous_thread_data);
800 } 800 }
801 801
802 802
803 void Isolate::ResetEagerOptimizingData() { 803 void Isolate::ResetEagerOptimizingData() {
804 compilation_cache_->ResetEagerOptimizingData(); 804 compilation_cache_->ResetEagerOptimizingData();
805 } 805 }
806 806
807 } } // namespace v8::internal 807 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/json.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698