| Index: src/arm/code-stubs-arm.h
|
| ===================================================================
|
| --- src/arm/code-stubs-arm.h (revision 8618)
|
| +++ src/arm/code-stubs-arm.h (working copy)
|
| @@ -58,19 +58,6 @@
|
| };
|
|
|
|
|
| -class ToBooleanStub: public CodeStub {
|
| - public:
|
| - explicit ToBooleanStub(Register tos) : tos_(tos) { }
|
| -
|
| - void Generate(MacroAssembler* masm);
|
| -
|
| - private:
|
| - Register tos_;
|
| - Major MajorKey() { return ToBoolean; }
|
| - int MinorKey() { return tos_.code(); }
|
| -};
|
| -
|
| -
|
| class StoreBufferOverflowStub: public CodeStub {
|
| public:
|
| explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp)
|
| @@ -88,18 +75,11 @@
|
|
|
| class UnaryOpStub: public CodeStub {
|
| public:
|
| - UnaryOpStub(Token::Value op, UnaryOverwriteMode mode)
|
| + UnaryOpStub(Token::Value op,
|
| + UnaryOverwriteMode mode,
|
| + UnaryOpIC::TypeInfo operand_type = UnaryOpIC::UNINITIALIZED)
|
| : op_(op),
|
| mode_(mode),
|
| - operand_type_(UnaryOpIC::UNINITIALIZED),
|
| - name_(NULL) {
|
| - }
|
| -
|
| - UnaryOpStub(
|
| - int key,
|
| - UnaryOpIC::TypeInfo operand_type)
|
| - : op_(OpBits::decode(key)),
|
| - mode_(ModeBits::decode(key)),
|
| operand_type_(operand_type),
|
| name_(NULL) {
|
| }
|
| @@ -113,12 +93,11 @@
|
|
|
| char* name_;
|
|
|
| - const char* GetName();
|
| + virtual const char* GetName();
|
|
|
| #ifdef DEBUG
|
| void Print() {
|
| - PrintF("UnaryOpStub %d (op %s), "
|
| - "(mode %d, runtime_type_info %s)\n",
|
| + PrintF("UnaryOpStub %d (op %s), (mode %d, runtime_type_info %s)\n",
|
| MinorKey(),
|
| Token::String(op_),
|
| static_cast<int>(mode_),
|
| @@ -211,7 +190,7 @@
|
|
|
| char* name_;
|
|
|
| - const char* GetName();
|
| + virtual const char* GetName();
|
|
|
| #ifdef DEBUG
|
| void Print() {
|
| @@ -406,12 +385,6 @@
|
| }
|
|
|
| void Generate(MacroAssembler* masm);
|
| -
|
| - const char* GetName() { return "WriteInt32ToHeapNumberStub"; }
|
| -
|
| -#ifdef DEBUG
|
| - void Print() { PrintF("WriteInt32ToHeapNumberStub\n"); }
|
| -#endif
|
| };
|
|
|
|
|
| @@ -438,8 +411,6 @@
|
| int MinorKey() { return 0; }
|
|
|
| void Generate(MacroAssembler* masm);
|
| -
|
| - const char* GetName() { return "NumberToStringStub"; }
|
| };
|
|
|
|
|
| @@ -606,8 +577,6 @@
|
| int MinorKey() { return 0; }
|
|
|
| bool NeedsImmovableCode() { return true; }
|
| -
|
| - const char* GetName() { return "RegExpCEntryStub"; }
|
| };
|
|
|
|
|
| @@ -628,14 +597,11 @@
|
| int MinorKey() { return 0; }
|
|
|
| bool NeedsImmovableCode() { return true; }
|
| -
|
| - const char* GetName() { return "DirectCEntryStub"; }
|
| };
|
|
|
|
|
| class FloatingPointHelper : public AllStatic {
|
| public:
|
| -
|
| enum Destination {
|
| kVFPRegisters,
|
| kCoreRegisters
|
| @@ -813,13 +779,6 @@
|
| StringDictionary::kHeaderSize +
|
| StringDictionary::kElementsStartIndex * kPointerSize;
|
|
|
| -
|
| -#ifdef DEBUG
|
| - void Print() {
|
| - PrintF("StringDictionaryLookupStub\n");
|
| - }
|
| -#endif
|
| -
|
| Major MajorKey() { return StringDictionaryNegativeLookup; }
|
|
|
| int MinorKey() {
|
|
|