Break cyclic reference between utils and platform.
authorjochen@chromium.org <jochen@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 25 Apr 2014 08:37:18 +0000 (08:37 +0000)
committerjochen@chromium.org <jochen@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 25 Apr 2014 08:37:18 +0000 (08:37 +0000)
commit79be539892e5a85bbce6e24f92337dec0580efe2
tree54ddf85802e978f6f6fae1ae6fe828e149027f9c
parent9bda4a298790711014d76ccea9d04e6255a878e2
Break cyclic reference between utils and platform.

Platform includes utils.h for the definition of Vector<>, so utils.h
can't include platform.h and has to use memcpy instead of OS::MemCopy.

We split out Vector<> into its own header to break this cycle
dependency.

BUG=none
R=mstarzinger@chromium.org
LOG=n

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20962 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/libplatform/default-platform.cc
src/libplatform/default-platform.h
src/platform.h
src/utils.h
src/vector.h [new file with mode: 0644]
tools/gyp/v8.gyp