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

Unified Diff: src/signature.h

Issue 2705993002: [wasm] Add JSToWasmWrapperCache to reuse generated wrapper code (Closed)
Patch Set: Fix comment Created 3 years, 10 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 | « no previous file | src/wasm/wasm-module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/signature.h
diff --git a/src/signature.h b/src/signature.h
index 32050fe4b0178476d296672ba8fe8dee6dd41a52..519138bec39cfaee68c54d31cd23497ff3b65bf3 100644
--- a/src/signature.h
+++ b/src/signature.h
@@ -32,7 +32,7 @@ class Signature : public ZoneObject {
return reps_[index];
}
- bool Equals(Signature* that) {
+ bool Equals(const Signature* that) const {
if (this == that) return true;
if (this->parameter_count() != that->parameter_count()) return false;
if (this->return_count() != that->return_count()) return false;
« no previous file with comments | « no previous file | src/wasm/wasm-module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698