CPUProfiler: It is not clear why we are using Handle<Object> for scriptId. Lets flip...
authorloislo@chromium.org <loislo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 25 Jun 2013 14:57:47 +0000 (14:57 +0000)
committerloislo@chromium.org <loislo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 25 Jun 2013 14:57:47 +0000 (14:57 +0000)
commit53eb53f4afb1014f77989f1e5e132eaa7b89d1ba
tree5ee6a9f47fb1dd1350be9cf8ddcc2b89fbd6bbf5
parentebfe1b8eb1b6c3a696bedb0afd75cb5689c50674
CPUProfiler: It is not clear why we are using Handle<Object> for scriptId. Lets flip it into Smi/int.

By the nature it is integer. So we can work with it as with Smi internaly and use int in the external API.

BUG=none
TEST=existing tests
R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15327 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8.h
src/api.cc
src/debug.cc
src/factory.cc
src/heap-inl.h
src/heap.cc
src/heap.h
src/objects-inl.h
src/objects.h