So we can not use v8 JavaScript engine on MIPs platform? Does anybody working on this. Since I see mips directory under Sources. Even SConstruct provides a way to select the architecture as "mips". If yes can you let us know when the work is expected to get over.
Thanks & Regards, Nilima On Jul 9, 1:41 am, Erik Corry <[email protected]> wrote: > The MIPS port isn't done. It doesn't work. > > Den 8. jul. 2010 14.12 skrev Nilima Chavan <[email protected]>: > > > > > When I am trying to build v8 for MIP platform, I am getting following > > errors: > > $ scons simulator=mips > > > In file included from src/virtual-frame.h:41, > > from src/virtual-frame-inl.h:31, > > from src/codegen.cc:41: > > src/mips/virtual-frame-mips.h:74: error: 'NumberInfo' has not been > > declared > > src/mips/virtual-frame-mips.h:366: error: 'NumberInfo' has not been > > declared > > src/mips/virtual-frame-mips.h:390: error: 'NumberInfo' has not been > > declared > > src/mips/virtual-frame-mips.h:391: error: 'NumberInfo' has not been > > declared > > src/mips/virtual-frame-mips.h:74: error: 'NumberInfo' has not been > > declared > > src/mips/virtual-frame-mips.h:366: error: 'NumberInfo' has not been > > declared > > In file included from src/virtual-frame-inl.h:36, > > from src/codegen.cc:41: > > src/virtual-frame-light-inl.h: In constructor > > 'v8::internal::VirtualFrame::VirtualFrame()': > > src/virtual-frame-light-inl.h:41: error: class > > 'v8::internal::VirtualFrame' does not have any field named > > 'element_count_' > > src/virtual-frame-light-inl.h:42: error: class > > 'v8::internal::VirtualFrame' does not have any field named > > 'top_of_stack_state_' > > src/virtual-frame-light-inl.h:42: error: 'NO_TOS_REGISTERS' was not > > declared in this scope > > src/virtual-frame-light-inl.h:43: error: class > > 'v8::internal::VirtualFrame' does not have any field named > > 'register_allocation_map_' > > src/virtual-frame-light-inl.h:43: error: no matching function for call > > to 'v8::internal::ZoneList<v8::internal::FrameElement>::ZoneList()' > > src/zone.h:170: note: candidates are: > > v8::internal::ZoneList<T>::ZoneList(int) [with T = > > v8::internal::FrameElement] > > src/zone.h:166: note: > > v8::internal::ZoneList<v8::internal::FrameElement>::ZoneList(const > > v8::internal::ZoneList<v8::internal::FrameElement>&) > > src/virtual-frame-light-inl.h: In constructor > > 'v8::internal::VirtualFrame::VirtualFrame(v8::internal::VirtualFrame*)': > > src/virtual-frame-light-inl.h:48: error: class > > 'v8::internal::VirtualFrame' does not have any field named > > 'element_count_' > > src/virtual-frame-light-inl.h:49: error: class > > 'v8::internal::VirtualFrame' does not have any field named > > 'top_of_stack_state_' > > src/virtual-frame-light-inl.h:49: error: 'class > > v8::internal::VirtualFrame' has no member named 'top_of_stack_state_' > > src/virtual-frame-light-inl.h:50: error: class > > 'v8::internal::VirtualFrame' does not have any field named > > 'register_allocation_map_' > > src/virtual-frame-light-inl.h:50: error: 'class > > v8::internal::VirtualFrame' has no member named > > 'register_allocation_map_' > > src/virtual-frame-light-inl.h:50: error: no matching function for call > > to 'v8::internal::ZoneList<v8::internal::FrameElement>::ZoneList()' > > src/zone.h:170: note: candidates are: > > v8::internal::ZoneList<T>::ZoneList(int) [with T = > > v8::internal::FrameElement] > > src/zone.h:166: note: > > v8::internal::ZoneList<v8::internal::FrameElement>::ZoneList(const > > v8::internal::ZoneList<v8::internal::FrameElement>&) > > src/virtual-frame-light-inl.h: In member function 'bool > > v8::internal::VirtualFrame::Equals(v8::internal::VirtualFrame*)': > > src/virtual-frame-light-inl.h:55: error: 'top_of_stack_state_' was not > > declared in this scope > > src/virtual-frame-light-inl.h:55: error: 'class > > v8::internal::VirtualFrame' has no member named 'top_of_stack_state_' > > src/virtual-frame-light-inl.h:56: error: 'register_allocation_map_' > > was not declared in this scope > > src/virtual-frame-light-inl.h:56: error: 'class > > v8::internal::VirtualFrame' has no member named > > 'register_allocation_map_' > > src/codegen.cc: At global scope: > > src/codegen.cc:325: error: 'GenerateCallFunction' is not a member of > > 'v8::internal::CodeGenerator' > > src/codegen.cc:325: error: 'GenerateRegExpConstructResult' is not a > > member of 'v8::internal::CodeGenerator' > > src/codegen.cc:325: error: 'GenerateGetFromCache' is not a member of > > 'v8::internal::CodeGenerator' > > src/codegen.cc:325: error: 'GenerateSwapElements' is not a member of > > 'v8::internal::CodeGenerator' > > cc1plus: warnings being treated as errors > > src/mips/virtual-frame-mips.h:486: warning: inline function 'void > > v8::internal::VirtualFrame::PushFrameSlotAt(int)' used but never > > defined > > src/mips/virtual-frame-mips.h:366: warning: inline function 'void > > v8::internal::VirtualFrame::Push(v8::internal::Register, int)' used > > but never defined > > src/mips/virtual-frame-mips.h:367: warning: inline function 'void > > > v8::internal::VirtualFrame::Push(v8::internal::Handle<v8::internal::Object>)' > > used but never defined > > scons: *** [obj/debug/codegen.o] Error 1 > > scons: building terminated because of errors. > > > Can anyone help on this ?? > > > -- > > v8-users mailing list > > [email protected] > >http://groups.google.com/group/v8-users > > -- > Erik Corry, Software Engineer > Google Denmark ApS. CVR nr. 28 86 69 84 > c/o Philip & Partners, 7 Vognmagergade, P.O. Box 2227, DK-1018 Copenhagen K, > Denmark. -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
