TBR=svenpanne@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
17612007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15316
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
description = "A keyed call IC from the snapshot";
tag = Logger::KEYED_CALL_IC_TAG;
break;
+ case Code::NUMBER_OF_KINDS:
+ break;
}
PROFILE(isolate_, CodeCreateEvent(tag, code_object, description));
}
#define CASE(name) case name: return #name;
CODE_KIND_LIST(CASE)
#undef CASE
+ case NUMBER_OF_KINDS: break;
}
UNREACHABLE();
return NULL;
#define DEFINE_CODE_KIND_ENUM(name) name,
CODE_KIND_LIST(DEFINE_CODE_KIND_ENUM)
#undef DEFINE_CODE_KIND_ENUM
- };
-
- enum {
-#define COUNT_FLAG(name) + 1
- NUMBER_OF_KINDS = 0 CODE_KIND_LIST(COUNT_FLAG)
-#undef COUNT_FLAG
+ NUMBER_OF_KINDS
};
// No more than 16 kinds. The value is currently encoded in four bits in