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

Side by Side Diff: include/v8.h

Issue 15669003: Fix TryCatch.ReThrow() to not clobber Message. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 4715 matching lines...) Expand 10 before | Expand all | Expand 10 after
4726 private: 4726 private:
4727 // Make it hard to create heap-allocated TryCatch blocks. 4727 // Make it hard to create heap-allocated TryCatch blocks.
4728 TryCatch(const TryCatch&); 4728 TryCatch(const TryCatch&);
4729 void operator=(const TryCatch&); 4729 void operator=(const TryCatch&);
4730 void* operator new(size_t size); 4730 void* operator new(size_t size);
4731 void operator delete(void*, size_t); 4731 void operator delete(void*, size_t);
4732 4732
4733 v8::internal::Isolate* isolate_; 4733 v8::internal::Isolate* isolate_;
4734 void* next_; 4734 void* next_;
4735 void* exception_; 4735 void* exception_;
4736 void* message_; 4736 void* message_obj_;
4737 void* message_script_;
4738 int message_start_pos_;
4739 int message_end_pos_;
4737 bool is_verbose_ : 1; 4740 bool is_verbose_ : 1;
4738 bool can_continue_ : 1; 4741 bool can_continue_ : 1;
4739 bool capture_message_ : 1; 4742 bool capture_message_ : 1;
4740 bool rethrow_ : 1; 4743 bool rethrow_ : 1;
4741 bool has_terminated_ : 1; 4744 bool has_terminated_ : 1;
4742 4745
4743 friend class v8::internal::Isolate; 4746 friend class v8::internal::Isolate;
4744 }; 4747 };
4745 4748
4746 4749
(...skipping 1564 matching lines...) Expand 10 before | Expand all | Expand 10 after
6311 6314
6312 6315
6313 } // namespace v8 6316 } // namespace v8
6314 6317
6315 6318
6316 #undef V8EXPORT 6319 #undef V8EXPORT
6317 #undef TYPE_CHECK 6320 #undef TYPE_CHECK
6318 6321
6319 6322
6320 #endif // V8_H_ 6323 #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