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

Side by Side Diff: src/isolate.cc

Issue 2443573002: [compiler] Prepare for partially shipping Ignition. (Closed)
Patch Set: Rebased. Created 4 years, 1 month 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/ic/ic.cc ('k') | src/log.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 // 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/isolate.h" 5 #include "src/isolate.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <fstream> // NOLINT(readability/streams) 9 #include <fstream> // NOLINT(readability/streams)
10 #include <sstream> 10 #include <sstream>
(...skipping 2541 matching lines...) Expand 10 before | Expand all | Expand 10 after
2552 2552
2553 // If we are deserializing, read the state into the now-empty heap. 2553 // If we are deserializing, read the state into the now-empty heap.
2554 { 2554 {
2555 AlwaysAllocateScope always_allocate(this); 2555 AlwaysAllocateScope always_allocate(this);
2556 2556
2557 if (!create_heap_objects) { 2557 if (!create_heap_objects) {
2558 des->Deserialize(this); 2558 des->Deserialize(this);
2559 } 2559 }
2560 load_stub_cache_->Initialize(); 2560 load_stub_cache_->Initialize();
2561 store_stub_cache_->Initialize(); 2561 store_stub_cache_->Initialize();
2562 if (FLAG_ignition || serializer_enabled()) { 2562 interpreter_->Initialize();
2563 interpreter_->Initialize();
2564 }
2565 2563
2566 heap_.NotifyDeserializationComplete(); 2564 heap_.NotifyDeserializationComplete();
2567 } 2565 }
2568 2566
2569 // Finish initialization of ThreadLocal after deserialization is done. 2567 // Finish initialization of ThreadLocal after deserialization is done.
2570 clear_pending_exception(); 2568 clear_pending_exception();
2571 clear_pending_message(); 2569 clear_pending_message();
2572 clear_scheduled_exception(); 2570 clear_scheduled_exception();
2573 2571
2574 // Deserializing may put strange things in the root array's copy of the 2572 // Deserializing may put strange things in the root array's copy of the
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
3488 // Then check whether this scope intercepts. 3486 // Then check whether this scope intercepts.
3489 if ((flag & intercept_mask_)) { 3487 if ((flag & intercept_mask_)) {
3490 intercepted_flags_ |= flag; 3488 intercepted_flags_ |= flag;
3491 return true; 3489 return true;
3492 } 3490 }
3493 return false; 3491 return false;
3494 } 3492 }
3495 3493
3496 } // namespace internal 3494 } // namespace internal
3497 } // namespace v8 3495 } // namespace v8
OLDNEW
« no previous file with comments | « src/ic/ic.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698