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

Side by Side Diff: src/isolate.h

Issue 2077323002: Remove obsolete stack overflow string. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 6 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 | « no previous file | 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 <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 // Returns the native context of the calling JavaScript code. That 785 // Returns the native context of the calling JavaScript code. That
786 // is, the native context of the top-most JavaScript frame. 786 // is, the native context of the top-most JavaScript frame.
787 Handle<Context> GetCallingNativeContext(); 787 Handle<Context> GetCallingNativeContext();
788 788
789 void RegisterTryCatchHandler(v8::TryCatch* that); 789 void RegisterTryCatchHandler(v8::TryCatch* that);
790 void UnregisterTryCatchHandler(v8::TryCatch* that); 790 void UnregisterTryCatchHandler(v8::TryCatch* that);
791 791
792 char* ArchiveThread(char* to); 792 char* ArchiveThread(char* to);
793 char* RestoreThread(char* from); 793 char* RestoreThread(char* from);
794 794
795 static const char* const kStackOverflowMessage;
796
797 static const int kUC16AlphabetSize = 256; // See StringSearchBase. 795 static const int kUC16AlphabetSize = 256; // See StringSearchBase.
798 static const int kBMMaxShift = 250; // See StringSearchBase. 796 static const int kBMMaxShift = 250; // See StringSearchBase.
799 797
800 // Accessors. 798 // Accessors.
801 #define GLOBAL_ACCESSOR(type, name, initialvalue) \ 799 #define GLOBAL_ACCESSOR(type, name, initialvalue) \
802 inline type name() const { \ 800 inline type name() const { \
803 DCHECK(OFFSET_OF(Isolate, name##_) == name##_debug_offset_); \ 801 DCHECK(OFFSET_OF(Isolate, name##_) == name##_debug_offset_); \
804 return name##_; \ 802 return name##_; \
805 } \ 803 } \
806 inline void set_##name(type value) { \ 804 inline void set_##name(type value) { \
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
1647 1645
1648 EmbeddedVector<char, 128> filename_; 1646 EmbeddedVector<char, 128> filename_;
1649 FILE* file_; 1647 FILE* file_;
1650 int scope_depth_; 1648 int scope_depth_;
1651 }; 1649 };
1652 1650
1653 } // namespace internal 1651 } // namespace internal
1654 } // namespace v8 1652 } // namespace v8
1655 1653
1656 #endif // V8_ISOLATE_H_ 1654 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698