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

Unified Diff: src/compiler/linkage.h

Issue 1704033002: [wasm] WasmRunner can run tests with I64 parameters and return value. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@new_wasm_runner
Patch Set: Created 4 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 | « src/compiler/int64-lowering.cc ('k') | src/compiler/linkage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/linkage.h
diff --git a/src/compiler/linkage.h b/src/compiler/linkage.h
index 3012f56e01f2a3a98695737ed3b719f7e6a685bf..12c1be4d44a22a47596332713a4cb415770c44be 100644
--- a/src/compiler/linkage.h
+++ b/src/compiler/linkage.h
@@ -309,13 +309,14 @@ std::ostream& operator<<(std::ostream& os, const CallDescriptor::Kind& k);
// Call[Runtime] CEntryStub, arg 1, arg 2, arg 3, [...], fun, #arg, context
class Linkage : public ZoneObject {
public:
- explicit Linkage(CallDescriptor* incoming) : incoming_(incoming) {}
+ explicit Linkage(const CallDescriptor* incoming) : incoming_(incoming) {}
titzer 2016/02/18 08:21:32 CallDescriptors are immutable, so no need to add t
- static CallDescriptor* ComputeIncoming(Zone* zone, CompilationInfo* info);
+ static const CallDescriptor* ComputeIncoming(Zone* zone,
+ CompilationInfo* info);
// The call descriptor for this compilation unit describes the locations
// of incoming parameters and the outgoing return value(s).
- CallDescriptor* GetIncomingDescriptor() const { return incoming_; }
+ const CallDescriptor* GetIncomingDescriptor() const { return incoming_; }
static CallDescriptor* GetJSCallDescriptor(Zone* zone, bool is_osr,
int parameter_count,
CallDescriptor::Flags flags);
@@ -389,7 +390,7 @@ class Linkage : public ZoneObject {
static const int kOsrContextSpillSlotIndex = -1;
private:
- CallDescriptor* const incoming_;
+ const CallDescriptor* const incoming_;
DISALLOW_COPY_AND_ASSIGN(Linkage);
};
« no previous file with comments | « src/compiler/int64-lowering.cc ('k') | src/compiler/linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698