Commit efb4b25b authored by Clemens Backes's avatar Clemens Backes Committed by Commit Bot

[wasm] Fix capitalization of effect and control getters

As these are simple methods, and for consistency with the GraphAssembler
interface, the getters should not be capitalized.

R=ecmziegler@chromium.org

Bug: v8:10123
Change-Id: I51871115b061bca4483dc23e982303508d9d8f55
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2017471
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65976}
parent 2a9c225c
This diff is collapsed.
......@@ -296,9 +296,8 @@ class WasmGraphBuilder {
this->instance_node_ = instance_node;
}
// TODO(clemensb): This should be {effect()} and {control()}.
Node* Effect();
Node* Control();
Node* effect();
Node* control();
Node* SetEffect(Node* node);
Node* SetControl(Node* node);
void SetEffectControl(Node* effect, Node* control);
......
......@@ -603,9 +603,9 @@ class WasmGraphBuildingInterface {
compiler::WasmGraphBuilder* builder_;
uint32_t current_catch_ = kNullCatch;
TFNode* control() { return builder_->Control(); }
TFNode* effect() { return builder_->effect(); }
TFNode* effect() { return builder_->Effect(); }
TFNode* control() { return builder_->control(); }
TryInfo* current_try_info(FullDecoder* decoder) {
return decoder->control_at(decoder->control_depth() - 1 - current_catch_)
......
Markdown is supported
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