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

Side by Side Diff: include/v8.h

Issue 1488563002: Mark soon-to-be-deprecated TryCatch ctor as deprecated (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 | test/cctest/test-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 // 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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 6480 matching lines...) Expand 10 before | Expand all | Expand 10 after
6491 /** 6491 /**
6492 * An external exception handler. 6492 * An external exception handler.
6493 */ 6493 */
6494 class V8_EXPORT TryCatch { 6494 class V8_EXPORT TryCatch {
6495 public: 6495 public:
6496 /** 6496 /**
6497 * Creates a new try/catch block and registers it with v8. Note that 6497 * Creates a new try/catch block and registers it with v8. Note that
6498 * all TryCatch blocks should be stack allocated because the memory 6498 * all TryCatch blocks should be stack allocated because the memory
6499 * location itself is compared against JavaScript try/catch blocks. 6499 * location itself is compared against JavaScript try/catch blocks.
6500 */ 6500 */
6501 V8_DEPRECATE_SOON("Use isolate version", TryCatch()); 6501 V8_DEPRECATED("Use isolate version", TryCatch());
6502 6502
6503 /** 6503 /**
6504 * Creates a new try/catch block and registers it with v8. Note that 6504 * Creates a new try/catch block and registers it with v8. Note that
6505 * all TryCatch blocks should be stack allocated because the memory 6505 * all TryCatch blocks should be stack allocated because the memory
6506 * location itself is compared against JavaScript try/catch blocks. 6506 * location itself is compared against JavaScript try/catch blocks.
6507 */ 6507 */
6508 TryCatch(Isolate* isolate); 6508 TryCatch(Isolate* isolate);
6509 6509
6510 /** 6510 /**
6511 * Unregisters and deletes this try/catch block. 6511 * Unregisters and deletes this try/catch block.
(...skipping 1969 matching lines...) Expand 10 before | Expand all | Expand 10 after
8481 */ 8481 */
8482 8482
8483 8483
8484 } // namespace v8 8484 } // namespace v8
8485 8485
8486 8486
8487 #undef TYPE_CHECK 8487 #undef TYPE_CHECK
8488 8488
8489 8489
8490 #endif // V8_H_ 8490 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698