Chromium Code Reviews| Index: src/compiler/operator.h |
| diff --git a/src/compiler/operator.h b/src/compiler/operator.h |
| index 616b4cf7afe178433d9db9436d458b4e8189d8d9..6407499da5515759df53363087831c4dc44c01d5 100644 |
| --- a/src/compiler/operator.h |
| +++ b/src/compiler/operator.h |
| @@ -85,6 +85,9 @@ class Operator : public ZoneObject { |
| Properties properties() const { return properties_; } |
| + // TODO(bmeurer): Use bit fields below? |
|
Michael Starzinger
2015/02/17 12:23:35
Please don't address this TODO in the near future
Benedikt Meurer
2015/02/17 12:30:38
Acknowledged.
|
| + static const size_t kMaxControlOutputCount = (1u << 16) - 1; |
| + |
| // TODO(titzer): convert return values here to size_t. |
| int ValueInputCount() const { return value_in_; } |
| int EffectInputCount() const { return effect_in_; } |
| @@ -114,7 +117,7 @@ class Operator : public ZoneObject { |
| uint16_t control_in_; |
| uint16_t value_out_; |
| uint8_t effect_out_; |
| - uint8_t control_out_; |
| + uint16_t control_out_; |
| DISALLOW_COPY_AND_ASSIGN(Operator); |
| }; |