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

Unified Diff: src/interpreter/bytecodes.h

Issue 1269813006: [Interpreter] Remove unnecessary const specifiers on scalar types. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | src/interpreter/bytecodes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/bytecodes.h
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
index b4c0d9c4446b7eda2ac1a99a683d29e018c519b2..5263bc76cc77d336f53675e2288da0c9404479bd 100644
--- a/src/interpreter/bytecodes.h
+++ b/src/interpreter/bytecodes.h
@@ -66,19 +66,19 @@ class Bytecodes {
static Bytecode FromByte(uint8_t value);
// Returns the number of operands expected by |bytecode|.
- static const int NumberOfOperands(Bytecode bytecode);
+ static int NumberOfOperands(Bytecode bytecode);
// Return the i-th operand of |bytecode|.
- static const OperandType GetOperandType(Bytecode bytecode, int i);
+ static OperandType GetOperandType(Bytecode bytecode, int i);
// Returns the size of the bytecode including its arguments.
- static const int Size(Bytecode bytecode);
+ static int Size(Bytecode bytecode);
// The maximum number of operands across all bytecodes.
- static const int MaximumNumberOfOperands();
+ static int MaximumNumberOfOperands();
// Maximum size of a bytecode and its arguments.
- static const int MaximumSize();
+ static int MaximumSize();
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(Bytecodes);
« no previous file with comments | « no previous file | src/interpreter/bytecodes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698