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

Unified Diff: src/compiler/int64-lowering.h

Issue 2731713002: [wasm] Fix interpreter entry for i64 return type (Closed)
Patch Set: Address comments Created 3 years, 9 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/compiler/int64-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/int64-lowering.h
diff --git a/src/compiler/int64-lowering.h b/src/compiler/int64-lowering.h
index 811c2b2046dc53c37cf21947e7d5556d37472f3a..c14dc95d8b61e437d52e2e2287df47dc9cf78b75 100644
--- a/src/compiler/int64-lowering.h
+++ b/src/compiler/int64-lowering.h
@@ -27,8 +27,10 @@ class V8_EXPORT_PRIVATE Int64Lowering {
static int GetParameterCountAfterLowering(
Signature<MachineRepresentation>* signature);
- static const int kLowerWordOffset;
- static const int kHigherWordOffset;
+ // Determine whether the given type is i64 and has to be passed via two
+ // parameters on the given machine.
+ static bool IsI64AsTwoParameters(MachineOperatorBuilder* machine,
+ MachineRepresentation type);
private:
enum class State : uint8_t { kUnvisited, kOnStack, kVisited };
« no previous file with comments | « no previous file | src/compiler/int64-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698