Version 3.16.11
Put making embedded maps in optimized code weak behind a flag. (Chromium issue 172488,172489)
Performance and stability improvements on all platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@13545 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/type-info.cc b/src/type-info.cc
index fb0f45a..80d3434 100644
--- a/src/type-info.cc
+++ b/src/type-info.cc
@@ -493,8 +493,7 @@
Handle<Object> object = GetInfo(ast_id);
if (object->IsUndefined() || object->IsSmi()) return;
- if (*object ==
- isolate_->builtins()->builtin(Builtins::kStoreIC_GlobalProxy)) {
+ if (object.is_identical_to(isolate_->builtins()->StoreIC_GlobalProxy())) {
// TODO(fschneider): We could collect the maps and signal that
// we need a generic store (or load) here.
ASSERT(Handle<Code>::cast(object)->ic_state() == GENERIC);