Reviewers: Sven Panne,

Message:
This is required to make --trace-generalization work with callbacks.

Description:
Treat FOREIGN_TYPE as internal.

Please review this at https://codereview.chromium.org/257523002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -0 lines):
  M src/types.cc


Index: src/types.cc
diff --git a/src/types.cc b/src/types.cc
index 705b64e706c23e3c29d7a08886e3542f738f4709..5270c0ea6de09f4f4825f79f7cd3ebc08d14116c 100644
--- a/src/types.cc
+++ b/src/types.cc
@@ -256,6 +256,7 @@ int TypeImpl<Config>::BitsetType::Lub(i::Map* map) {
     case EXECUTABLE_ACCESSOR_INFO_TYPE:
     case ACCESSOR_PAIR_TYPE:
     case FIXED_ARRAY_TYPE:
+    case FOREIGN_TYPE:
       return kInternal & kTaggedPtr;
     default:
       UNREACHABLE();


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to