| Index: src/compiler/opcodes.h
|
| diff --git a/src/compiler/opcodes.h b/src/compiler/opcodes.h
|
| index 4853110bb1aa654d929cea2ca19874f899bd6bef..3c26b33befbfadee32926d6097bd0bce6792e741 100644
|
| --- a/src/compiler/opcodes.h
|
| +++ b/src/compiler/opcodes.h
|
| @@ -263,6 +263,7 @@ class IrOpcode {
|
|
|
| // Returns the mnemonic name of an opcode.
|
| static const char* Mnemonic(Value val) {
|
| + // TODO(turbofan): make this a table lookup.
|
| switch (val) {
|
| #define RETURN_NAME(x) \
|
| case k##x: \
|
| @@ -276,6 +277,7 @@ class IrOpcode {
|
|
|
| static bool IsJsOpcode(Value val) {
|
| switch (val) {
|
| +// TODO(turbofan): make this a range check.
|
| #define RETURN_NAME(x) \
|
| case k##x: \
|
| return true;
|
| @@ -288,6 +290,7 @@ class IrOpcode {
|
|
|
| static bool IsControlOpcode(Value val) {
|
| switch (val) {
|
| +// TODO(turbofan): make this a range check.
|
| #define RETURN_NAME(x) \
|
| case k##x: \
|
| return true;
|
| @@ -300,6 +303,7 @@ class IrOpcode {
|
|
|
| static bool IsLeafOpcode(Value val) {
|
| switch (val) {
|
| +// TODO(turbofan): make this a table lookup.
|
| #define RETURN_NAME(x) \
|
| case k##x: \
|
| return true;
|
| @@ -312,6 +316,7 @@ class IrOpcode {
|
|
|
| static bool IsCommonOpcode(Value val) {
|
| switch (val) {
|
| +// TODO(turbofan): make this a table lookup or a range check.
|
| #define RETURN_NAME(x) \
|
| case k##x: \
|
| return true;
|
|
|