| Index: src/codegen.h
|
| ===================================================================
|
| --- src/codegen.h (revision 4966)
|
| +++ src/codegen.h (working copy)
|
| @@ -80,6 +80,39 @@
|
| enum UncatchableExceptionType { OUT_OF_MEMORY, TERMINATION };
|
|
|
|
|
| +namespace v8 {
|
| +namespace internal {
|
| +
|
| +class InlineRuntimeFunctionsTable {
|
| + public:
|
| + enum {
|
| +#define LUT_ENTRY(name, argc, resize) __##name,
|
| + INLINE_RUNTIME_FUNCTION_LIST(LUT_ENTRY)
|
| + kInlineRuntimeFunctionsTableSize
|
| +#undef LUT_ENTRY
|
| + };
|
| +
|
| + struct Entry {
|
| + void (CodeGenerator::*method)(ZoneList<Expression*>*);
|
| + const char* name;
|
| + int nargs;
|
| + };
|
| +
|
| + Entry* entries() { return entries_; }
|
| +
|
| + private:
|
| + InlineRuntimeFunctionsTable();
|
| +
|
| + Entry entries_[kInlineRuntimeFunctionsTableSize];
|
| +
|
| + friend class Isolate;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(InlineRuntimeFunctionsTable);
|
| +};
|
| +
|
| +} // namespace internal
|
| +} // namespace v8
|
| +
|
| #if V8_TARGET_ARCH_IA32
|
| #include "ia32/codegen-ia32.h"
|
| #elif V8_TARGET_ARCH_X64
|
| @@ -97,7 +130,6 @@
|
| namespace v8 {
|
| namespace internal {
|
|
|
| -
|
| // Support for "structured" code comments.
|
| #ifdef DEBUG
|
|
|
|
|