~yolanda.robla/ubuntu/trusty/nodejs/add_distribution

« back to all changes in this revision

Viewing changes to deps/v8/src/regexp-macro-assembler-irregexp-inl.h

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2013-08-14 00:16:46 UTC
  • mfrom: (7.1.40 sid)
  • Revision ID: package-import@ubuntu.com-20130814001646-bzlysfh8sd6mukbo
Tags: 0.10.15~dfsg1-4
* Update 2005 patch, adding a handful of tests that can fail on
  slow platforms.
* Add 1004 patch to fix test failures when writing NaN to buffer
  on mipsel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
}
63
63
 
64
64
 
 
65
void RegExpMacroAssemblerIrregexp::Emit8(uint32_t word) {
 
66
  ASSERT(pc_ <= buffer_.length());
 
67
  if (pc_ == buffer_.length()) {
 
68
    Expand();
 
69
  }
 
70
  *reinterpret_cast<unsigned char*>(buffer_.start() + pc_) = word;
 
71
  pc_ += 1;
 
72
}
 
73
 
 
74
 
65
75
void RegExpMacroAssemblerIrregexp::Emit32(uint32_t word) {
66
76
  ASSERT(pc_ <= buffer_.length());
67
77
  if (pc_ + 3 >= buffer_.length()) {