Commit 2e34b035 authored by ager@chromium.org's avatar ager@chromium.org

Minor changes to allow V8 to build on Ubuntu Jaunty.

Review URL: http://codereview.chromium.org/40289

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1442 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 182c3ebb
......@@ -279,7 +279,8 @@ void Operand::set_modrm(int mod, Register rm) {
void Operand::set_dispr(int32_t disp, RelocInfo::Mode rmode) {
ASSERT(len_ == 1 || len_ == 2);
*reinterpret_cast<int32_t*>(&buf_[len_]) = disp;
int32_t* p = reinterpret_cast<int32_t*>(&buf_[len_]);
*p = disp;
len_ += sizeof(int32_t);
rmode_ = rmode;
}
......
......@@ -262,7 +262,7 @@ void Heap::ClearKeyedLookupCache() {
#define CALL_HEAP_FUNCTION_VOID(FUNCTION_CALL) \
CALL_AND_RETRY(FUNCTION_CALL, , )
CALL_AND_RETRY(FUNCTION_CALL, ;, ;)
#ifdef DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment