~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/JavaScriptCore/wrec/WRECGenerator.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
        {
63
63
        }
64
64
 
65
 
        static const RegisterID input = X86::eax;
66
 
        static const RegisterID length = X86::ecx;
67
 
        static const RegisterID index = X86::edx;
68
 
        static const RegisterID character = X86::esi;
69
 
        static const RegisterID output = X86::edi;
70
 
        static const RegisterID repeatCount = X86::ebx; // How many times the current atom repeats in the current match.
71
 
        
 
65
#if PLATFORM(X86)
 
66
        static const RegisterID input = X86Registers::eax;
 
67
        static const RegisterID index = X86Registers::edx;
 
68
        static const RegisterID length = X86Registers::ecx;
 
69
        static const RegisterID output = X86Registers::edi;
 
70
 
 
71
        static const RegisterID character = X86Registers::esi;
 
72
        static const RegisterID repeatCount = X86Registers::ebx; // How many times the current atom repeats in the current match.
 
73
 
 
74
        static const RegisterID returnRegister = X86Registers::eax;
 
75
#endif
 
76
#if PLATFORM(X86_64)
 
77
        static const RegisterID input = X86Registers::edi;
 
78
        static const RegisterID index = X86Registers::esi;
 
79
        static const RegisterID length = X86Registers::edx;
 
80
        static const RegisterID output = X86Registers::ecx;
 
81
 
 
82
        static const RegisterID character = X86Registers::eax;
 
83
        static const RegisterID repeatCount = X86Registers::ebx; // How many times the current atom repeats in the current match.
 
84
 
 
85
        static const RegisterID returnRegister = X86Registers::eax;
 
86
#endif
 
87
 
72
88
        void generateEnter();
73
89
        void generateSaveIndex();
74
90
        void generateIncrementIndex(Jump* failure = 0);