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

Side by Side Diff: src/isolate.h

Issue 1100083002: Don't MISS if you read the hole from certain FastHoley arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE and fix arm64 compilation. Created 5 years, 8 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/ic/ic-compiler.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 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 1007
1008 void set_date_cache(DateCache* date_cache) { 1008 void set_date_cache(DateCache* date_cache) {
1009 if (date_cache != date_cache_) { 1009 if (date_cache != date_cache_) {
1010 delete date_cache_; 1010 delete date_cache_;
1011 } 1011 }
1012 date_cache_ = date_cache; 1012 date_cache_ = date_cache;
1013 } 1013 }
1014 1014
1015 Map* get_initial_js_array_map(ElementsKind kind); 1015 Map* get_initial_js_array_map(ElementsKind kind);
1016 1016
1017 static const int kArrayProtectorValid = 1;
1018 static const int kArrayProtectorInvalid = 0;
1019
1017 bool IsFastArrayConstructorPrototypeChainIntact(); 1020 bool IsFastArrayConstructorPrototypeChainIntact();
1018 1021
1019 // On intent to set an element in object, make sure that appropriate 1022 // On intent to set an element in object, make sure that appropriate
1020 // notifications occur if the set is on the elements of the array or 1023 // notifications occur if the set is on the elements of the array or
1021 // object prototype. Also ensure that changes to prototype chain between 1024 // object prototype. Also ensure that changes to prototype chain between
1022 // Array and Object fire notifications. 1025 // Array and Object fire notifications.
1023 void UpdateArrayProtectorOnSetElement(Handle<JSObject> object); 1026 void UpdateArrayProtectorOnSetElement(Handle<JSObject> object);
1024 void UpdateArrayProtectorOnSetLength(Handle<JSObject> object) { 1027 void UpdateArrayProtectorOnSetLength(Handle<JSObject> object) {
1025 UpdateArrayProtectorOnSetElement(object); 1028 UpdateArrayProtectorOnSetElement(object);
1026 } 1029 }
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 } 1590 }
1588 1591
1589 EmbeddedVector<char, 128> filename_; 1592 EmbeddedVector<char, 128> filename_;
1590 FILE* file_; 1593 FILE* file_;
1591 int scope_depth_; 1594 int scope_depth_;
1592 }; 1595 };
1593 1596
1594 } } // namespace v8::internal 1597 } } // namespace v8::internal
1595 1598
1596 #endif // V8_ISOLATE_H_ 1599 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ic/ic-compiler.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698