Commit 80bcd96b authored by Stephan Herhut's avatar Stephan Herhut Committed by Commit Bot

Use DCHECK instead of CHECK in CodeReference

Using DCHECK seems to be the common V8 style.

Change-Id: I6dab91e5225a222cbfe07ebeeec4ed1b274fe5bd
Reviewed-on: https://chromium-review.googlesource.com/1088698Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
Commit-Queue: Stephan Herhut <herhut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53554}
parent 22fab0ba
...@@ -36,12 +36,12 @@ class CodeReference { ...@@ -36,12 +36,12 @@ class CodeReference {
} }
Handle<Code> as_js_code() const { Handle<Code> as_js_code() const {
CHECK_EQ(JS, kind_); DCHECK_EQ(JS, kind_);
return js_code_; return js_code_;
} }
const wasm::WasmCode* as_wasm_code() const { const wasm::WasmCode* as_wasm_code() const {
CHECK_EQ(WASM, kind_); DCHECK_EQ(WASM, kind_);
return wasm_code_; return wasm_code_;
} }
......
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