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

Side by Side Diff: src/isolate.cc

Issue 504093002: Fix and re-enable test-api/InitializeAndDispose. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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/elements.cc ('k') | src/lithium.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 <stdlib.h> 5 #include <stdlib.h>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/ast.h" 9 #include "src/ast.h"
10 #include "src/base/platform/platform.h" 10 #include "src/base/platform/platform.h"
(...skipping 1574 matching lines...) Expand 10 before | Expand all | Expand 10 after
1585 1585
1586 delete this; 1586 delete this;
1587 1587
1588 // Restore the previous current isolate. 1588 // Restore the previous current isolate.
1589 SetIsolateThreadLocals(saved_isolate, saved_data); 1589 SetIsolateThreadLocals(saved_isolate, saved_data);
1590 } 1590 }
1591 1591
1592 1592
1593 void Isolate::GlobalTearDown() { 1593 void Isolate::GlobalTearDown() {
1594 delete thread_data_table_; 1594 delete thread_data_table_;
1595 thread_data_table_ = NULL;
1595 } 1596 }
1596 1597
1597 1598
1598 void Isolate::Deinit() { 1599 void Isolate::Deinit() {
1599 if (state_ == INITIALIZED) { 1600 if (state_ == INITIALIZED) {
1600 TRACE_ISOLATE(deinit); 1601 TRACE_ISOLATE(deinit);
1601 1602
1602 debug()->Unload(); 1603 debug()->Unload();
1603 1604
1604 FreeThreadResources(); 1605 FreeThreadResources();
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
2415 if (prev_ && prev_->Intercept(flag)) return true; 2416 if (prev_ && prev_->Intercept(flag)) return true;
2416 // Then check whether this scope intercepts. 2417 // Then check whether this scope intercepts.
2417 if ((flag & intercept_mask_)) { 2418 if ((flag & intercept_mask_)) {
2418 intercepted_flags_ |= flag; 2419 intercepted_flags_ |= flag;
2419 return true; 2420 return true;
2420 } 2421 }
2421 return false; 2422 return false;
2422 } 2423 }
2423 2424
2424 } } // namespace v8::internal 2425 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/lithium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698