Removing ic.h from code-stubs.h
authormvstanton@chromium.org <mvstanton@chromium.org>
Tue, 16 Sep 2014 12:51:33 +0000 (12:51 +0000)
committermvstanton@chromium.org <mvstanton@chromium.org>
Tue, 16 Sep 2014 12:51:33 +0000 (12:51 +0000)
commita4176d2052dfb1e44e20492c3e66b91313af82a9
treef1d26afeb0026f16d303c3960036a984d54f74c4
parentc54b0bc7170249fa2d5c3d6fa4d6f7060ae0775b
Removing ic.h from code-stubs.h

CodeStubs use state types defined in ic.h, but this has the unfortunate effect of spreading ic.h all over the place. Instead, define these shared state types in ic-public.h and allow ic.h to concern itself with internal state change of the ICs.

More work could/should be done here, but this is a first step.

R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23977 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
46 files changed:
BUILD.gn
src/arm/code-stubs-arm.cc
src/arm/full-codegen-arm.cc
src/arm/lithium-codegen-arm.cc
src/arm64/code-stubs-arm64.cc
src/arm64/full-codegen-arm64.cc
src/arm64/lithium-codegen-arm64.cc
src/assembler.cc
src/code-factory.cc
src/code-stubs-hydrogen.cc
src/code-stubs.cc
src/code-stubs.h
src/disassembler.cc
src/full-codegen.h
src/heap/mark-compact.cc
src/heap/objects-visiting-inl.h
src/hydrogen.cc
src/hydrogen.h
src/ia32/code-stubs-ia32.cc
src/ia32/full-codegen-ia32.cc
src/ia32/lithium-codegen-ia32.cc
src/ic/arm/handler-compiler-arm.cc
src/ic/arm/ic-compiler-arm.cc
src/ic/arm64/handler-compiler-arm64.cc
src/ic/arm64/ic-compiler-arm64.cc
src/ic/handler-compiler.cc
src/ic/handler-compiler.h
src/ic/ia32/handler-compiler-ia32.cc
src/ic/ia32/ic-compiler-ia32.cc
src/ic/ic-inl.h
src/ic/ic-state.cc [new file with mode: 0644]
src/ic/ic-state.h [new file with mode: 0644]
src/ic/ic.cc
src/ic/ic.h
src/ic/mips/handler-compiler-mips.cc
src/ic/mips/ic-compiler-mips.cc
src/ic/x64/ic-compiler-x64.cc
src/mips/code-stubs-mips.cc
src/mips/full-codegen-mips.cc
src/mips/lithium-codegen-mips.cc
src/objects.cc
src/type-info.cc
src/x64/code-stubs-x64.cc
src/x64/full-codegen-x64.cc
src/x64/lithium-codegen-x64.cc
tools/gyp/v8.gyp