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

Unified Diff: src/interpreter/bytecode-register.cc

Issue 2143133004: [interpreter] Fix Register const declarations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/interpreter/bytecode-register.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/bytecode-register.cc
diff --git a/src/interpreter/bytecode-register.cc b/src/interpreter/bytecode-register.cc
index 094be0de83b5329109fee8c39b6bbce0a7cfb010..31e3b908527e229278684e70465b128b01881626 100644
--- a/src/interpreter/bytecode-register.cc
+++ b/src/interpreter/bytecode-register.cc
@@ -4,8 +4,6 @@
#include "src/interpreter/bytecode-register.h"
-#include "src/frames.h"
-
namespace v8 {
namespace internal {
namespace interpreter {
@@ -39,10 +37,6 @@ static const int kCallerPCOffsetRegisterIndex =
InterpreterFrameConstants::kCallerPCOffsetFromFp) /
kPointerSize;
-STATIC_CONST_MEMBER_DEFINITION const int Register::kInvalidIndex = kMaxInt;
-STATIC_CONST_MEMBER_DEFINITION const int Register::kRegisterFileStartOffset =
- InterpreterFrameConstants::kRegisterFileFromFp / kPointerSize;
-
Register Register::FromParameterIndex(int index, int parameter_count) {
DCHECK_GE(index, 0);
DCHECK_LT(index, parameter_count);
« no previous file with comments | « src/interpreter/bytecode-register.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698