Fix comment typos
Review-Url: https://codereview.chromium.org/2399933005 Cr-Commit-Position: refs/heads/master@{#40066}
This commit is contained in:
parent
571c39d069
commit
a78c5ea518
@ -1451,8 +1451,7 @@ void Scope::Print(int n) {
|
||||
}
|
||||
|
||||
void Scope::CheckScopePositions() {
|
||||
// A scope is allowed to have invalid positions if it is hidden and has no
|
||||
// inner scopes
|
||||
// Visible leaf scopes must have real positions.
|
||||
if (!is_hidden() && inner_scope_ == nullptr) {
|
||||
CHECK_NE(kNoSourcePosition, start_position());
|
||||
CHECK_NE(kNoSourcePosition, end_position());
|
||||
|
@ -724,7 +724,7 @@ class Isolate {
|
||||
void ReportFailedAccessCheck(Handle<JSObject> receiver);
|
||||
|
||||
// Exception throwing support. The caller should use the result
|
||||
// of Throw() as its return vaue.
|
||||
// of Throw() as its return value.
|
||||
Object* Throw(Object* exception, MessageLocation* location = NULL);
|
||||
Object* ThrowIllegalOperation();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user