Implement structural function and array types

Just wanted to add two constructors to a datatype, how ugly can it get?

R=bmeurer@chromium.org, jarin@chromium.org
BUG=

Committed: https://code.google.com/p/v8/source/detail?r=20809

Committed: https://code.google.com/p/v8/source/detail?r=20815

Review URL: https://codereview.chromium.org/228263005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20818 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
rossberg@chromium.org 2014-04-16 16:25:49 +00:00
parent 926ec656de
commit 02687c790f

View File

@ -17,7 +17,7 @@ namespace internal {
// TypeImpl
template<class Config>
typename i::TypeImpl<Config>::template Iterator<i::Map>
typename v8::internal::TypeImpl<Config>::template Iterator<i::Map>
TypeImpl<Config>::Classes() {
if (this->IsBitset()) return Iterator<i::Map>();
return Iterator<i::Map>(Config::handle(this));
@ -25,7 +25,7 @@ TypeImpl<Config>::Classes() {
template<class Config>
typename i::TypeImpl<Config>::template Iterator<i::Object>
typename v8::internal::TypeImpl<Config>::template Iterator<i::Object>
TypeImpl<Config>::Constants() {
if (this->IsBitset()) return Iterator<i::Object>();
return Iterator<i::Object>(Config::handle(this));