~james-page/ubuntu/precise/nodejs/test-timeout

« back to all changes in this revision

Viewing changes to deps/v8/src/interpreter-irregexp.cc

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2011-06-30 07:03:44 UTC
  • mfrom: (7.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110630070344-5928xvhb3ddw5adb
Tags: 0.4.9-1ubuntu1
* Merge from Debian unstable (LP: #786428). Remaining changes:
  - debian/patches/2007_remove_internet_test.patch: Remove test which requires
    internet connection

Show diffs side-by-side

added added

removed removed

Lines of Context:
607
607
          pc = code_base + Load32Aligned(pc + 4);
608
608
        }
609
609
        break;
 
610
      BYTECODE(SET_CURRENT_POSITION_FROM_END) {
 
611
        int by = static_cast<uint32_t>(insn) >> BYTECODE_SHIFT;
 
612
        if (subject.length() - current > by) {
 
613
          current = subject.length() - by;
 
614
          current_char = subject[current - 1];
 
615
        }
 
616
        pc += BC_SET_CURRENT_POSITION_FROM_END_LENGTH;
 
617
        break;
 
618
      }
610
619
      default:
611
620
        UNREACHABLE();
612
621
        break;