Author: [EMAIL PROTECTED]
Date: Fri Nov 14 03:33:50 2008
New Revision: 754
Modified:
branches/experimental/regexp2000/src/constants-arm.h
branches/experimental/regexp2000/src/regexp-macro-assembler.h
Log:
Fix Linux build and a misplaced * in a comment.
Review URL: http://codereview.chromium.org/10946
Modified: branches/experimental/regexp2000/src/constants-arm.h
==============================================================================
--- branches/experimental/regexp2000/src/constants-arm.h (original)
+++ branches/experimental/regexp2000/src/constants-arm.h Fri Nov 14
03:33:50 2008
@@ -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();
// }
Modified: branches/experimental/regexp2000/src/regexp-macro-assembler.h
==============================================================================
--- branches/experimental/regexp2000/src/regexp-macro-assembler.h
(original)
+++ branches/experimental/regexp2000/src/regexp-macro-assembler.h Fri Nov
14 03:33:50 2008
@@ -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_;
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---