Commit 02687c79 authored by rossberg@chromium.org's avatar rossberg@chromium.org

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
parent 926ec656
...@@ -17,7 +17,7 @@ namespace internal { ...@@ -17,7 +17,7 @@ namespace internal {
// TypeImpl // TypeImpl
template<class Config> template<class Config>
typename i::TypeImpl<Config>::template Iterator<i::Map> typename v8::internal::TypeImpl<Config>::template Iterator<i::Map>
TypeImpl<Config>::Classes() { TypeImpl<Config>::Classes() {
if (this->IsBitset()) return Iterator<i::Map>(); if (this->IsBitset()) return Iterator<i::Map>();
return Iterator<i::Map>(Config::handle(this)); return Iterator<i::Map>(Config::handle(this));
...@@ -25,7 +25,7 @@ TypeImpl<Config>::Classes() { ...@@ -25,7 +25,7 @@ TypeImpl<Config>::Classes() {
template<class Config> template<class Config>
typename i::TypeImpl<Config>::template Iterator<i::Object> typename v8::internal::TypeImpl<Config>::template Iterator<i::Object>
TypeImpl<Config>::Constants() { TypeImpl<Config>::Constants() {
if (this->IsBitset()) return Iterator<i::Object>(); if (this->IsBitset()) return Iterator<i::Object>();
return Iterator<i::Object>(Config::handle(this)); return Iterator<i::Object>(Config::handle(this));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment