v8/src/ia32
loislo@chromium.org d2c443b774 Extract hardcoded error strings into a single place and replace them with enum.
I'd like to propagate bailout reason to cpu profiler.
So I need to save it into heap object SharedFunctionInfo.
But:
1) all bailout reason strings spread across all the sources.
2) they are native strings and if I convert them into String then I may have a performance issue.
3) one byte is enough for 184 bailout reasons. Otherwise we need 8 bytes for the pointer.

Also I think it would be nice to have error strings collected in one place.
In that case we will get additional benefits:

It allows us to keep this set of messages under control.
It gives us a chance to internationalize them.
It slightly reduces the binary footprint.

From the other hand the developers have to add new strings into that enum.

BUG=
R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16024 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-08-02 09:53:11 +00:00
..
assembler-ia32-inl.h Short-circuit embedded cons strings. 2013-06-21 09:24:30 +00:00
assembler-ia32.cc Use test(reg, imm) when the operand is a register on ia32 2013-08-02 08:55:26 +00:00
assembler-ia32.h Implement X87 stack tracking and x87 multiplication 2013-07-11 13:07:04 +00:00
builtins-ia32.cc Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
code-stubs-ia32.cc Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
code-stubs-ia32.h Cleanup StringAddFlags. 2013-07-19 11:52:42 +00:00
codegen-ia32.cc Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
codegen-ia32.h Make (most of) --trace-codegen available in release mode. Better output. 2013-05-24 10:57:59 +00:00
cpu-ia32.cc Clean up the usage of V8_TARGET_ARCH_${arch} and V8_HOST_ARCH_${arch} 2013-06-28 15:34:48 +00:00
debug-ia32.cc Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
deoptimizer-ia32.cc Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
disasm-ia32.cc Keep two empty lines between declarations for cpp files 2013-07-05 09:52:11 +00:00
frames-ia32.cc Clean up the usage of V8_TARGET_ARCH_${arch} and V8_HOST_ARCH_${arch} 2013-06-28 15:34:48 +00:00
frames-ia32.h Introduce the SetFp function in StackHandler 2013-07-30 23:59:55 +00:00
full-codegen-ia32.cc Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
ic-ia32.cc Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
lithium-codegen-ia32.cc Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
lithium-codegen-ia32.h Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
lithium-gap-resolver-ia32.cc Adding Smi support to Add, Sub, Mul, and Bitwise 2013-07-25 11:53:38 +00:00
lithium-gap-resolver-ia32.h Re-land Crankshaft-generated KeyedLoad stubs. 2012-12-18 16:25:45 +00:00
lithium-ia32.cc Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
lithium-ia32.h Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
macro-assembler-ia32.cc Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
macro-assembler-ia32.h Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00
regexp-macro-assembler-ia32.cc Keep two empty lines between declarations for cpp files 2013-07-05 09:52:11 +00:00
regexp-macro-assembler-ia32.h RegExp macro assembler clean up. 2013-06-06 10:17:07 +00:00
simulator-ia32.cc
simulator-ia32.h Implement loop for global regexps in regexp assembler. 2012-05-22 14:05:44 +00:00
stub-cache-ia32.cc Extract hardcoded error strings into a single place and replace them with enum. 2013-08-02 09:53:11 +00:00