| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index e73b1849004ae980a639e3a4049432d13bd4ac80..cd198e2f07f18ea0fff30f5ca2db0ceec42ceac6 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -84,7 +84,7 @@ Code* StubCache::Set(String* name, Map* map, Code* code) {
|
|
|
| // If the primary entry has useful data in it, we retire it to the
|
| // secondary cache before overwriting it.
|
| - if (hit != isolate_->builtins()->builtin(Builtins::Illegal)) {
|
| + if (hit != isolate_->builtins()->builtin(Builtins::kIllegal)) {
|
| Code::Flags primary_flags = Code::RemoveTypeFromFlags(hit->flags());
|
| int secondary_offset =
|
| SecondaryOffset(primary->key, primary_flags, primary_offset);
|
| @@ -245,7 +245,7 @@ MaybeObject* StubCache::ComputeLoadInterceptor(String* name,
|
|
|
|
|
| MaybeObject* StubCache::ComputeLoadNormal() {
|
| - return isolate_->builtins()->builtin(Builtins::LoadIC_Normal);
|
| + return isolate_->builtins()->builtin(Builtins::kLoadIC_Normal);
|
| }
|
|
|
|
|
| @@ -659,8 +659,8 @@ MaybeObject* StubCache::ComputeKeyedLoadOrStoreExternalArray(
|
|
|
| MaybeObject* StubCache::ComputeStoreNormal(StrictModeFlag strict_mode) {
|
| return isolate_->builtins()->builtin((strict_mode == kStrictMode)
|
| - ? Builtins::StoreIC_Normal_Strict
|
| - : Builtins::StoreIC_Normal);
|
| + ? Builtins::kStoreIC_Normal_Strict
|
| + : Builtins::kStoreIC_Normal);
|
| }
|
|
|
|
|
| @@ -1221,12 +1221,12 @@ void StubCache::Clear() {
|
| for (int i = 0; i < kPrimaryTableSize; i++) {
|
| primary_[i].key = isolate_->heap()->empty_string();
|
| primary_[i].value = isolate_->builtins()->builtin(
|
| - Builtins::Illegal);
|
| + Builtins::kIllegal);
|
| }
|
| for (int j = 0; j < kSecondaryTableSize; j++) {
|
| secondary_[j].key = isolate_->heap()->empty_string();
|
| secondary_[j].value = isolate_->builtins()->builtin(
|
| - Builtins::Illegal);
|
| + Builtins::kIllegal);
|
| }
|
| }
|
|
|
|
|