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

Unified Diff: src/hydrogen.cc

Issue 1069883002: WIP SharedArrayBuffer implementation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: merge master Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/objects-visiting.cc ('k') | src/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index c463d43000a0189496451fbbdd7ce43d984496a4..4b11a6241246f1428260286ecce9fc84543c7889 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -6193,7 +6193,8 @@ bool HOptimizedGraphBuilder::PropertyAccessInfo::LookupInPrototypes() {
bool HOptimizedGraphBuilder::PropertyAccessInfo::IsIntegerIndexedExotic() {
InstanceType instance_type = map_->instance_type();
- return instance_type == JS_TYPED_ARRAY_TYPE &&
+ return (instance_type == JS_TYPED_ARRAY_TYPE ||
+ instance_type == JS_SHARED_TYPED_ARRAY_TYPE) &&
IsSpecialIndex(isolate()->unicode_cache(), *name_);
}
« no previous file with comments | « src/heap/objects-visiting.cc ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698