Commit 343bf6f3 authored by Jaroslav Sevcik's avatar Jaroslav Sevcik Committed by Commit Bot

[turbofan] Bump control/effect input count size to 32 bits.

I am not committing the regression test from the bug because it takes
ages to run, but I have locally verified that it passes now.

Bug: chromium:776645
Change-Id: Ia7128d9fa3cf864b1c1b646802a973fe41d4c4ae
Reviewed-on: https://chromium-review.googlesource.com/735484Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Jaroslav Sevcik <jarin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48893}
parent 0ff90138
......@@ -31,8 +31,8 @@ Operator::Operator(Opcode opcode, Properties properties, const char* mnemonic,
opcode_(opcode),
properties_(properties),
value_in_(CheckRange<uint32_t>(value_in)),
effect_in_(CheckRange<uint16_t>(effect_in)),
control_in_(CheckRange<uint16_t>(control_in)),
effect_in_(CheckRange<uint32_t>(effect_in)),
control_in_(CheckRange<uint32_t>(control_in)),
value_out_(CheckRange<uint32_t>(value_out)),
effect_out_(CheckRange<uint8_t>(effect_out)),
control_out_(CheckRange<uint32_t>(control_out)) {}
......
......@@ -137,8 +137,8 @@ class V8_EXPORT_PRIVATE Operator : public NON_EXPORTED_BASE(ZoneObject) {
Opcode opcode_;
Properties properties_;
uint32_t value_in_;
uint16_t effect_in_;
uint16_t control_in_;
uint32_t effect_in_;
uint32_t control_in_;
uint32_t value_out_;
uint8_t effect_out_;
uint32_t control_out_;
......
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