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

Side by Side Diff: include/v8.h

Issue 6982059: Reduce TLS overhead in v8::TryCatch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: . Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/api.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 3241 matching lines...) Expand 10 before | Expand all | Expand 10 after
3252 void SetVerbose(bool value); 3252 void SetVerbose(bool value);
3253 3253
3254 /** 3254 /**
3255 * Set whether or not this TryCatch should capture a Message object 3255 * Set whether or not this TryCatch should capture a Message object
3256 * which holds source information about where the exception 3256 * which holds source information about where the exception
3257 * occurred. True by default. 3257 * occurred. True by default.
3258 */ 3258 */
3259 void SetCaptureMessage(bool value); 3259 void SetCaptureMessage(bool value);
3260 3260
3261 private: 3261 private:
3262 v8::internal::Isolate* isolate_;
Vyacheslav Egorov (Chromium) 2011/06/07 14:58:26 I think it's the first time when we actually use v
Vitaly Repeshko 2011/06/07 15:01:30 We already use it in a few places. It doesn't real
3262 void* next_; 3263 void* next_;
3263 void* exception_; 3264 void* exception_;
3264 void* message_; 3265 void* message_;
3265 bool is_verbose_ : 1; 3266 bool is_verbose_ : 1;
3266 bool can_continue_ : 1; 3267 bool can_continue_ : 1;
3267 bool capture_message_ : 1; 3268 bool capture_message_ : 1;
3268 bool rethrow_ : 1; 3269 bool rethrow_ : 1;
3269 3270
3270 friend class v8::internal::Isolate; 3271 friend class v8::internal::Isolate;
3271 }; 3272 };
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
4137 4138
4138 4139
4139 } // namespace v8 4140 } // namespace v8
4140 4141
4141 4142
4142 #undef V8EXPORT 4143 #undef V8EXPORT
4143 #undef TYPE_CHECK 4144 #undef TYPE_CHECK
4144 4145
4145 4146
4146 #endif // V8_H_ 4147 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698