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

Unified Diff: src/ast/ast.h

Issue 1857703002: Move comment above associated declaration so some GUIs can pick it up. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/ast.h
diff --git a/src/ast/ast.h b/src/ast/ast.h
index 397d0b4663ceef629bfe841b0d0b95129afd9bdf..52bac8efbe1a3ad63f8988f4187c5d9218abbc81 100644
--- a/src/ast/ast.h
+++ b/src/ast/ast.h
@@ -1182,7 +1182,6 @@ class TryCatchStatement final : public TryStatement {
Variable* variable() { return variable_; }
Block* catch_block() const { return catch_block_; }
void set_catch_block(Block* b) { catch_block_ = b; }
- bool clear_pending_message() { return clear_pending_message_; }
// The clear_pending_message flag indicates whether or not to clear the
// isolate's pending exception message before executing the catch_block. In
@@ -1194,6 +1193,7 @@ class TryCatchStatement final : public TryStatement {
// message instead of generating a new one.
// (When the catch block doesn't rethrow but is guaranteed to perform an
// ordinary throw, not clearing the old message is safe but not very useful.)
+ bool clear_pending_message() { return clear_pending_message_; }
protected:
TryCatchStatement(Zone* zone, Block* try_block, Scope* scope,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698