Commit e4614e87 authored by Daniel Bevenius's avatar Daniel Bevenius
Browse files

src: rename AliasedBufferInfo->AliasedBufferIndex

This commit suggest renaming AlaisedBufferInfo to AlaisedBufferIndex to
make the code more readable.

The main motivation for this change is that I personally think that
the following code could be a little clearer:

  context->GetDataFromSnapshotOnce<V8T>(*info_).ToLocalChecked();

Even knowing that GetDataFromSnapshotOnce takes a size_t I had to double
check the type of info_ to make sure.

PR-URL: https://github.com/nodejs/node/pull/36339


Reviewed-By: default avatarZeyu Yang <himself65@outlook.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent f7dd330b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment