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

Unified Diff: src/hydrogen-types.cc

Issue 847373002: Add proper support for proxies to HType. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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/hydrogen-types.h ('k') | test/mjsunit/regress/regress-crbug-448730.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-types.cc
diff --git a/src/hydrogen-types.cc b/src/hydrogen-types.cc
index a05e30fbe353f36c09141af053902d64e8660c87..4f5eabb2df82300acc1a02b87f5cbe9bbf05ef9d 100644
--- a/src/hydrogen-types.cc
+++ b/src/hydrogen-types.cc
@@ -24,6 +24,7 @@ HType HType::FromType(typename T::TypeHandle type) {
if (type->Is(T::Undefined())) return HType::Undefined();
if (type->Is(T::Array())) return HType::JSArray();
if (type->Is(T::Object())) return HType::JSObject();
+ if (type->Is(T::Receiver())) return HType::JSReceiver();
return HType::Tagged();
}
« no previous file with comments | « src/hydrogen-types.h ('k') | test/mjsunit/regress/regress-crbug-448730.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698