Commit 33debd14 authored by ager@chromium.org's avatar ager@chromium.org

Fix build on arm and x64.

Note to self: remember all platforms.
Review URL: http://codereview.chromium.org/115399

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1967 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f5796854
......@@ -96,8 +96,7 @@ void RegisterAllocator::Reset() {
Result RegisterAllocator::AllocateByteRegisterWithoutSpilling() {
UNIMPLEMENTED();
Result invalid(cgen_);
return invalid;
return Result();
}
......
......@@ -422,8 +422,7 @@ void VirtualFrame::Drop(int count) {
Result VirtualFrame::Pop() {
UNIMPLEMENTED();
Result invalid(cgen_);
return invalid;
return Result();
}
......
......@@ -181,7 +181,7 @@ class VirtualFrame : public ZoneObject {
// Set a frame element to a constant. The index is frame-top relative.
void SetElementAt(int index, Handle<Object> value) {
Result temp(value, cgen_);
Result temp(value);
SetElementAt(index, &temp);
}
......
......@@ -179,7 +179,7 @@ class VirtualFrame : public Malloced {
// Set a frame element to a constant. The index is frame-top relative.
void SetElementAt(int index, Handle<Object> value) {
Result temp(value, cgen_);
Result temp(value);
SetElementAt(index, &temp);
}
......
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