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

Side by Side Diff: src/isolate.h

Issue 1152093003: [strong] create strong array literals (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cl feedback Created 5 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/ia32/full-codegen-ia32.cc ('k') | src/isolate.cc » ('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 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include "include/v8-debug.h" 9 #include "include/v8-debug.h"
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 return date_cache_; 983 return date_cache_;
984 } 984 }
985 985
986 void set_date_cache(DateCache* date_cache) { 986 void set_date_cache(DateCache* date_cache) {
987 if (date_cache != date_cache_) { 987 if (date_cache != date_cache_) {
988 delete date_cache_; 988 delete date_cache_;
989 } 989 }
990 date_cache_ = date_cache; 990 date_cache_ = date_cache;
991 } 991 }
992 992
993 Map* get_initial_js_array_map(ElementsKind kind); 993 Map* get_initial_js_array_map(ElementsKind kind,
994 ObjectStrength strength = WEAK);
994 995
995 static const int kArrayProtectorValid = 1; 996 static const int kArrayProtectorValid = 1;
996 static const int kArrayProtectorInvalid = 0; 997 static const int kArrayProtectorInvalid = 0;
997 998
998 bool IsFastArrayConstructorPrototypeChainIntact(); 999 bool IsFastArrayConstructorPrototypeChainIntact();
999 1000
1000 // On intent to set an element in object, make sure that appropriate 1001 // On intent to set an element in object, make sure that appropriate
1001 // notifications occur if the set is on the elements of the array or 1002 // notifications occur if the set is on the elements of the array or
1002 // object prototype. Also ensure that changes to prototype chain between 1003 // object prototype. Also ensure that changes to prototype chain between
1003 // Array and Object fire notifications. 1004 // Array and Object fire notifications.
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1581 } 1582 }
1582 1583
1583 EmbeddedVector<char, 128> filename_; 1584 EmbeddedVector<char, 128> filename_;
1584 FILE* file_; 1585 FILE* file_;
1585 int scope_depth_; 1586 int scope_depth_;
1586 }; 1587 };
1587 1588
1588 } } // namespace v8::internal 1589 } } // namespace v8::internal
1589 1590
1590 #endif // V8_ISOLATE_H_ 1591 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698