Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(679)

Unified Diff: src/wasm/ast-decoder.cc

Issue 1571713002: [wasm] s/NULL/nullptr/g (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/wasm/asm-wasm-builder.cc ('k') | src/wasm/encoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/wasm/asm-wasm-builder.cc ('k') | src/wasm/encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698