Chromium Code Reviews| Index: src/wasm/ast-decoder.cc |
| diff --git a/src/wasm/ast-decoder.cc b/src/wasm/ast-decoder.cc |
| index c9fe4945d9e2d7035c19b174b1e96a65e1928baa..411c9a50f57d766deeb64d481c2793947ac16091 100644 |
| --- a/src/wasm/ast-decoder.cc |
| +++ b/src/wasm/ast-decoder.cc |
| @@ -1124,7 +1124,7 @@ class LR_WasmDecoder : public Decoder { |
| } |
| void Goto(SsaEnv* from, SsaEnv* to) { |
| - DCHECK_NOT_NULL(to); |
| + DCHECK_NOT_nullptr(to); |
|
Michael Starzinger
2016/01/08 12:11:03
Doesn't look right.
|
| if (!from->go()) return; |
| switch (to->state) { |
| case SsaEnv::kUnreachable: { // Overwrite destination. |
| @@ -1241,7 +1241,7 @@ class LR_WasmDecoder : public Decoder { |
| // Create a complete copy of the {from}. |
| SsaEnv* Split(SsaEnv* from) { |
| - DCHECK_NOT_NULL(from); |
| + DCHECK_NOT_nullptr(from); |
|
Michael Starzinger
2016/01/08 12:11:03
Doesn't look right.
|
| SsaEnv* result = reinterpret_cast<SsaEnv*>(zone_->New(sizeof(SsaEnv))); |
| size_t size = sizeof(TFNode*) * EnvironmentCount(); |
| result->control = from->control; |
| @@ -1265,7 +1265,7 @@ class LR_WasmDecoder : public Decoder { |
| // Create a copy of {from} that steals its state and leaves {from} |
| // unreachable. |
| SsaEnv* Steal(SsaEnv* from) { |
| - DCHECK_NOT_NULL(from); |
| + DCHECK_NOT_nullptr(from); |
|
Michael Starzinger
2016/01/08 12:11:03
Doesn't look right.
|
| if (!from->go()) return UnreachableEnv(); |
| SsaEnv* result = reinterpret_cast<SsaEnv*>(zone_->New(sizeof(SsaEnv))); |
| result->state = SsaEnv::kReached; |