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

Unified Diff: src/interpreter/bytecodes.h

Issue 2041913002: [interpreter] Remove OperandScale from front stages of pipeline. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Minor clean-up. 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
Index: src/interpreter/bytecodes.h
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
index 00712de3bdd94352eb74039fce89559330ad307f..46cf0a37933e9f4b9fa2299505303e3aebd852a2 100644
--- a/src/interpreter/bytecodes.h
+++ b/src/interpreter/bytecodes.h
@@ -644,10 +644,7 @@ class Bytecodes {
static OperandSize SizeForSignedOperand(int value);
// Return the operand size required to hold an unsigned operand.
- static OperandSize SizeForUnsignedOperand(int value);
-
- // Return the operand size required to hold an unsigned operand.
- static OperandSize SizeForUnsignedOperand(size_t value);
+ static OperandSize SizeForUnsignedOperand(uint32_t value);
// Return the OperandScale required for bytecode emission of
// operand sizes.

Powered by Google App Engine
This is Rietveld 408576698