Reviewers: Erik Corry,

Description:
Fix Linux build and a misplaced * in a comment.

Please review this at http://codereview.chromium.org/10946

SVN Base: http://v8.googlecode.com/svn/branches/experimental/regexp2000/

Affected files:
   M     src/constants-arm.h
   M     src/regexp-macro-assembler.h


Index: src/regexp-macro-assembler.h
===================================================================
--- src/regexp-macro-assembler.h        (revision 752)
+++ src/regexp-macro-assembler.h        (working copy)
@@ -131,13 +131,13 @@
    size_t offset() { return offset_; }
    // Offset from the ByteArray pointer.
    size_t base_offset() {
-    return kHeaderSize - kHeapObjectTag + offset;
+    return ByteArray::kHeaderSize - kHeapObjectTag + offset;
    }
    T* operator*() {
      return reinterpret_cast<T*>(array_->GetDataStartAddress() + offset);
    }
    T& operator[](int idx) {
-    return reinterpret_cast<T*>(array_->getDataStartAddress() +  
offset)[idx];
+    return reinterpret_cast<T*>(array_->GetDataStartAddress() +  
offset)[idx];
    }
  private:
    const Handle<ByteArray> array_;
Index: src/constants-arm.h
===================================================================
--- src/constants-arm.h (revision 752)
+++ src/constants-arm.h (working copy)
@@ -120,7 +120,7 @@
  // bits.
  //
  // bool InstructionSetsConditionCodes(byte* ptr) {
-//   Instr *instr = Instr::At(ptr);
+//   Instr* instr = Instr::At(ptr);
  //   int type = instr->TypeField();
  //   return ((type == 0) || (type == 1)) && instr->HasS();
  // }



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to