| Index: src/codegen.h
|
| ===================================================================
|
| --- src/codegen.h (revision 3935)
|
| +++ src/codegen.h (working copy)
|
| @@ -31,6 +31,7 @@
|
| #include "ast.h"
|
| #include "code-stubs.h"
|
| #include "runtime.h"
|
| +#include "number-info.h"
|
|
|
| // Include the declaration of the architecture defined class CodeGenerator.
|
| // The contract to the shared code is that the the CodeGenerator is a subclass
|
| @@ -415,21 +416,6 @@
|
| };
|
|
|
|
|
| -// Mark the debugger statement to be recognized by debugger (by the MajorKey)
|
| -class DebuggerStatementStub : public CodeStub {
|
| - public:
|
| - DebuggerStatementStub() { }
|
| -
|
| - void Generate(MacroAssembler* masm);
|
| -
|
| - private:
|
| - Major MajorKey() { return DebuggerStatement; }
|
| - int MinorKey() { return 0; }
|
| -
|
| - const char* GetName() { return "DebuggerStatementStub"; }
|
| -};
|
| -
|
| -
|
| class JSEntryStub : public CodeStub {
|
| public:
|
| JSEntryStub() { }
|
| @@ -532,14 +518,14 @@
|
| }
|
| #endif
|
|
|
| - // Minor key encoding in 31 bits AAAAAAAAAAAAAAAAAAAAAFI A(rgs)F(lag)I(nloop).
|
| + // Minor key encoding in 32 bits with Bitfield <Type, shift, size>.
|
| class InLoopBits: public BitField<InLoopFlag, 0, 1> {};
|
| class FlagBits: public BitField<CallFunctionFlags, 1, 1> {};
|
| - class ArgcBits: public BitField<int, 2, 29> {};
|
| + class ArgcBits: public BitField<int, 2, 32 - 2> {};
|
|
|
| Major MajorKey() { return CallFunction; }
|
| int MinorKey() {
|
| - // Encode the parameters in a unique 31 bit value.
|
| + // Encode the parameters in a unique 32 bit value.
|
| return InLoopBits::encode(in_loop_)
|
| | FlagBits::encode(flags_)
|
| | ArgcBits::encode(argc_);
|
|
|