| Index: src/ic.h
|
| diff --git a/src/ic.h b/src/ic.h
|
| index fa7ed6dbc1381f60aee70703a65d34566179dfba..d1d2b6139d06c09e526a130bf8e2d7dc8e3467a0 100644
|
| --- a/src/ic.h
|
| +++ b/src/ic.h
|
| @@ -29,12 +29,14 @@
|
| #define V8_IC_H_
|
|
|
| #include "macro-assembler.h"
|
| -#include "type-info.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
|
|
|
|
| +const int kMaxKeyedPolymorphism = 4;
|
| +
|
| +
|
| // IC_UTIL_LIST defines all utility functions called from generated
|
| // inline caching code. The argument for the macro, ICU, is the function name.
|
| #define IC_UTIL_LIST(ICU) \
|
| @@ -296,6 +298,12 @@ class IC_Utility {
|
| };
|
|
|
|
|
| +enum StringStubFeedback {
|
| + DEFAULT_STRING_STUB = 0,
|
| + STRING_INDEX_OUT_OF_BOUNDS = 1
|
| +};
|
| +
|
| +
|
| class CallICBase: public IC {
|
| public:
|
| // ExtraICState bits
|
|
|