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 2080213004: Fix int64 lowering on big-endian architectures. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use constants instead of get methods Created 4 years, 6 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 054c4219948bb640fc4bc43adb89f655046c4987..4ec4e821eb978f9a0dc2e8908c19745b49639962 100644
--- a/src/compiler/int64-lowering.h
+++ b/src/compiler/int64-lowering.h
@@ -26,6 +26,9 @@ class Int64Lowering {
static int GetParameterCountAfterLowering(
Signature<MachineRepresentation>* signature);
+ static const int kLowerWordOffset;
+ static const int kHigherWordOffset;
+
private:
enum class State : uint8_t { kUnvisited, kOnStack, kVisited };
@@ -54,6 +57,7 @@ class Int64Lowering {
bool HasReplacementHigh(Node* node);
Node* GetReplacementHigh(Node* node);
void PreparePhiReplacement(Node* phi);
+ void GetIndexNodes(Node* index, Node*& index_low, Node*& index_high);
struct NodeState {
Node* node;
« 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