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

Unified Diff: src/wasm/wasm-js.cc

Issue 1571713002: [wasm] s/NULL/nullptr/g (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: DCHECK 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/encoder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-js.cc
diff --git a/src/wasm/wasm-js.cc b/src/wasm/wasm-js.cc
index f5c59b0c8124bdb8643fc9fda73d60aac7080fc6..8980d019b534e81103b3543fe07f60b59a81802f 100644
--- a/src/wasm/wasm-js.cc
+++ b/src/wasm/wasm-js.cc
@@ -139,7 +139,7 @@ v8::internal::wasm::WasmModuleIndex* TranslateAsmModule(i::ParseInfo* info) {
v8::internal::AsmTyper typer(info->isolate(), info->zone(), *(info->script()),
info->literal());
if (!typer.Validate()) {
- return NULL;
+ return nullptr;
}
auto module = v8::internal::wasm::AsmWasmBuilder(
@@ -170,7 +170,7 @@ void AsmCompileRun(const v8::FunctionCallbackInfo<v8::Value>& args) {
i::ParseInfo info(&zone, script);
auto module = TranslateAsmModule(&info);
- if (module == NULL) {
+ if (module == nullptr) {
thrower.Error("Asm.js validation failed");
return;
}
@@ -203,7 +203,7 @@ void InstantiateModuleFromAsm(const v8::FunctionCallbackInfo<v8::Value>& args) {
i::ParseInfo info(&zone, script);
auto module = TranslateAsmModule(&info);
- if (module == NULL) {
+ if (module == nullptr) {
thrower.Error("Asm.js validation failed");
return;
}
« no previous file with comments | « src/wasm/encoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698