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

Side by Side Diff: src/isolate.cc

Issue 2096933002: Remove all harmony runtime flags which shipped in M51 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review comments Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « src/flag-definitions.h ('k') | src/isolate-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/isolate.h" 5 #include "src/isolate.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <fstream> // NOLINT(readability/streams) 9 #include <fstream> // NOLINT(readability/streams)
10 #include <sstream> 10 #include <sstream>
(...skipping 2639 matching lines...) Expand 10 before | Expand all | Expand 10 after
2650 2650
2651 void Isolate::InvalidateIsConcatSpreadableProtector() { 2651 void Isolate::InvalidateIsConcatSpreadableProtector() {
2652 DCHECK(factory()->is_concat_spreadable_protector()->value()->IsSmi()); 2652 DCHECK(factory()->is_concat_spreadable_protector()->value()->IsSmi());
2653 DCHECK(IsIsConcatSpreadableLookupChainIntact()); 2653 DCHECK(IsIsConcatSpreadableLookupChainIntact());
2654 factory()->is_concat_spreadable_protector()->set_value( 2654 factory()->is_concat_spreadable_protector()->set_value(
2655 Smi::FromInt(kArrayProtectorInvalid)); 2655 Smi::FromInt(kArrayProtectorInvalid));
2656 DCHECK(!IsIsConcatSpreadableLookupChainIntact()); 2656 DCHECK(!IsIsConcatSpreadableLookupChainIntact());
2657 } 2657 }
2658 2658
2659 void Isolate::InvalidateArraySpeciesProtector() { 2659 void Isolate::InvalidateArraySpeciesProtector() {
2660 if (!FLAG_harmony_species) return;
2661 DCHECK(factory()->species_protector()->value()->IsSmi()); 2660 DCHECK(factory()->species_protector()->value()->IsSmi());
2662 DCHECK(IsArraySpeciesLookupChainIntact()); 2661 DCHECK(IsArraySpeciesLookupChainIntact());
2663 factory()->species_protector()->set_value( 2662 factory()->species_protector()->set_value(
2664 Smi::FromInt(kArrayProtectorInvalid)); 2663 Smi::FromInt(kArrayProtectorInvalid));
2665 DCHECK(!IsArraySpeciesLookupChainIntact()); 2664 DCHECK(!IsArraySpeciesLookupChainIntact());
2666 } 2665 }
2667 2666
2668 bool Isolate::IsAnyInitialArrayPrototype(Handle<JSArray> array) { 2667 bool Isolate::IsAnyInitialArrayPrototype(Handle<JSArray> array) {
2669 DisallowHeapAllocation no_gc; 2668 DisallowHeapAllocation no_gc;
2670 return IsInAnyContext(*array, Context::INITIAL_ARRAY_PROTOTYPE_INDEX); 2669 return IsInAnyContext(*array, Context::INITIAL_ARRAY_PROTOTYPE_INDEX);
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
3058 // Then check whether this scope intercepts. 3057 // Then check whether this scope intercepts.
3059 if ((flag & intercept_mask_)) { 3058 if ((flag & intercept_mask_)) {
3060 intercepted_flags_ |= flag; 3059 intercepted_flags_ |= flag;
3061 return true; 3060 return true;
3062 } 3061 }
3063 return false; 3062 return false;
3064 } 3063 }
3065 3064
3066 } // namespace internal 3065 } // namespace internal
3067 } // namespace v8 3066 } // namespace v8
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/isolate-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698