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

Side by Side Diff: src/isolate.h

Issue 1932163002: Reland of move more dead code after Object.observe removal (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: don't throw on error Created 4 years, 7 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
« no previous file with comments | « src/debug/debug.cc ('k') | src/isolate-inl.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 // 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 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 10
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 } 618 }
619 inline Address* js_entry_sp_address() { 619 inline Address* js_entry_sp_address() {
620 return &thread_local_top_.js_entry_sp_; 620 return &thread_local_top_.js_entry_sp_;
621 } 621 }
622 622
623 // Returns the global object of the current context. It could be 623 // Returns the global object of the current context. It could be
624 // a builtin object, or a JS global object. 624 // a builtin object, or a JS global object.
625 inline Handle<JSGlobalObject> global_object(); 625 inline Handle<JSGlobalObject> global_object();
626 626
627 // Returns the global proxy object of the current context. 627 // Returns the global proxy object of the current context.
628 JSObject* global_proxy() { 628 inline Handle<JSObject> global_proxy();
629 return context()->global_proxy();
630 }
631 629
632 static int ArchiveSpacePerThread() { return sizeof(ThreadLocalTop); } 630 static int ArchiveSpacePerThread() { return sizeof(ThreadLocalTop); }
633 void FreeThreadResources() { thread_local_top_.Free(); } 631 void FreeThreadResources() { thread_local_top_.Free(); }
634 632
635 // This method is called by the api after operations that may throw 633 // This method is called by the api after operations that may throw
636 // exceptions. If an exception was thrown and not handled by an external 634 // exceptions. If an exception was thrown and not handled by an external
637 // handler the exception is scheduled to be rethrown when we return to running 635 // handler the exception is scheduled to be rethrown when we return to running
638 // JavaScript code. If an exception is scheduled true is returned. 636 // JavaScript code. If an exception is scheduled true is returned.
639 bool OptionalRescheduleException(bool is_bottom_call); 637 bool OptionalRescheduleException(bool is_bottom_call);
640 638
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 1580
1583 EmbeddedVector<char, 128> filename_; 1581 EmbeddedVector<char, 128> filename_;
1584 FILE* file_; 1582 FILE* file_;
1585 int scope_depth_; 1583 int scope_depth_;
1586 }; 1584 };
1587 1585
1588 } // namespace internal 1586 } // namespace internal
1589 } // namespace v8 1587 } // namespace v8
1590 1588
1591 #endif // V8_ISOLATE_H_ 1589 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/debug/debug.cc ('k') | src/isolate-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698