Skip to content

Commit

Permalink
deps: fix compile bug in v8/lookup.h
Browse files Browse the repository at this point in the history
Fixed a small error that manifests when --debug is specified. This
seems to have been introduced during the backport nodejs#9422.

Ref: nodejs#9422
PR-URL: nodejs#10525
  • Loading branch information
matthewaveryusa authored and ofrobots committed Dec 29, 2016
1 parent 868e5e6 commit 516b627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/v8/src/lookup.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class LookupIterator final BASE_EMBEDDED {
Handle<Object> GetReceiver() const { return receiver_; }

Handle<JSObject> GetStoreTarget() const {
DCHECK(receiver->IsJSObject());
DCHECK(receiver_->IsJSObject());
if (receiver_->IsJSGlobalProxy()) {
Map* map = JSGlobalProxy::cast(*receiver_)->map();
if (map->has_hidden_prototype()) {
Expand Down

0 comments on commit 516b627

Please sign in to comment.