Commit c27d0f7b authored by lrn@chromium.org's avatar lrn@chromium.org

X64: Fixups in heap-test.cc to make it compile in X64 mode.

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


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1994 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 0dda60a9
...@@ -105,6 +105,12 @@ Assembler::~Assembler() { ...@@ -105,6 +105,12 @@ Assembler::~Assembler() {
UNIMPLEMENTED(); UNIMPLEMENTED();
} }
void Assembler::nop() {
UNIMPLEMENTED();
}
void BreakLocationIterator::ClearDebugBreakAtReturn() { void BreakLocationIterator::ClearDebugBreakAtReturn() {
UNIMPLEMENTED(); UNIMPLEMENTED();
} }
...@@ -352,6 +358,12 @@ void CpuFeatures::Probe() { ...@@ -352,6 +358,12 @@ void CpuFeatures::Probe() {
UNIMPLEMENTED(); UNIMPLEMENTED();
} }
bool Debug::IsDebugBreakAtReturn(v8::internal::RelocInfo*) {
UNIMPLEMENTED();
return false;
}
void Debug::GenerateCallICDebugBreak(MacroAssembler* a) { void Debug::GenerateCallICDebugBreak(MacroAssembler* a) {
UNIMPLEMENTED(); UNIMPLEMENTED();
} }
......
...@@ -315,7 +315,7 @@ static bool WeakPointerCleared = false; ...@@ -315,7 +315,7 @@ static bool WeakPointerCleared = false;
static void TestWeakGlobalHandleCallback(v8::Persistent<v8::Value> handle, static void TestWeakGlobalHandleCallback(v8::Persistent<v8::Value> handle,
void* id) { void* id) {
USE(handle); USE(handle);
if (1234 == reinterpret_cast<int>(id)) WeakPointerCleared = true; if (1234 == reinterpret_cast<intptr_t>(id)) WeakPointerCleared = true;
} }
...@@ -385,7 +385,7 @@ TEST(WeakGlobalHandlesMark) { ...@@ -385,7 +385,7 @@ TEST(WeakGlobalHandlesMark) {
static void TestDeleteWeakGlobalHandleCallback( static void TestDeleteWeakGlobalHandleCallback(
v8::Persistent<v8::Value> handle, v8::Persistent<v8::Value> handle,
void* id) { void* id) {
if (1234 == reinterpret_cast<int>(id)) WeakPointerCleared = true; if (1234 == reinterpret_cast<intptr_t>(id)) WeakPointerCleared = true;
handle.Dispose(); handle.Dispose();
} }
......
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