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

Side by Side Diff: src/isolate.h

Issue 716833002: Various clean-ups after top-level lexical declarations are done. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Patch for landing Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/interface.h ('k') | src/isolate.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 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include "include/v8-debug.h" 8 #include "include/v8-debug.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 814
815 void InvokeApiInterruptCallback(); 815 void InvokeApiInterruptCallback();
816 816
817 // Administration 817 // Administration
818 void Iterate(ObjectVisitor* v); 818 void Iterate(ObjectVisitor* v);
819 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); 819 void Iterate(ObjectVisitor* v, ThreadLocalTop* t);
820 char* Iterate(ObjectVisitor* v, char* t); 820 char* Iterate(ObjectVisitor* v, char* t);
821 void IterateThread(ThreadVisitor* v, char* t); 821 void IterateThread(ThreadVisitor* v, char* t);
822 822
823 823
824 // Returns the current native and global context. 824 // Returns the current native context.
825 Handle<Context> native_context(); 825 Handle<Context> native_context();
826 Handle<Context> global_context();
827 826
828 // Returns the native context of the calling JavaScript code. That 827 // Returns the native context of the calling JavaScript code. That
829 // is, the native context of the top-most JavaScript frame. 828 // is, the native context of the top-most JavaScript frame.
830 Handle<Context> GetCallingNativeContext(); 829 Handle<Context> GetCallingNativeContext();
831 830
832 void RegisterTryCatchHandler(v8::TryCatch* that); 831 void RegisterTryCatchHandler(v8::TryCatch* that);
833 void UnregisterTryCatchHandler(v8::TryCatch* that); 832 void UnregisterTryCatchHandler(v8::TryCatch* that);
834 833
835 char* ArchiveThread(char* to); 834 char* ArchiveThread(char* to);
836 char* RestoreThread(char* from); 835 char* RestoreThread(char* from);
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
1546 } 1545 }
1547 1546
1548 EmbeddedVector<char, 128> filename_; 1547 EmbeddedVector<char, 128> filename_;
1549 FILE* file_; 1548 FILE* file_;
1550 int scope_depth_; 1549 int scope_depth_;
1551 }; 1550 };
1552 1551
1553 } } // namespace v8::internal 1552 } } // namespace v8::internal
1554 1553
1555 #endif // V8_ISOLATE_H_ 1554 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/interface.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698