Commit d9900a20 authored by danno@chromium.org's avatar danno@chromium.org

Fix Win64 build

R=titzer@chromium.org

Review URL: https://codereview.chromium.org/434623003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22772 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 8d55bbbc
......@@ -16,6 +16,8 @@ namespace v8 {
namespace internal {
namespace compiler {
#ifndef _WIN64
#define __ masm()->
......@@ -980,6 +982,8 @@ bool CodeGenerator::IsNopForSmiCodeInlining(Handle<Code> code, int start_pc,
v8::internal::Assembler::kNopByte;
}
#endif
#endif
}
}
......
......@@ -9,6 +9,8 @@ namespace v8 {
namespace internal {
namespace compiler {
#ifndef _WIN64
// Adds X64-specific methods for generating operands.
class X64OperandGenerator V8_FINAL : public OperandGenerator {
public:
......@@ -677,6 +679,8 @@ void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation,
}
}
#endif
} // namespace compiler
} // namespace internal
} // namespace v8
......@@ -14,6 +14,8 @@ namespace v8 {
namespace internal {
namespace compiler {
#ifndef _WIN64
#ifdef _WIN64
const bool kWin64 = true;
#else
......@@ -76,6 +78,8 @@ CallDescriptor* Linkage::GetSimplifiedCDescriptor(
return LinkageHelper::GetSimplifiedCDescriptor<LinkageHelperTraits>(
zone, num_params, return_type, param_types);
}
#endif
}
}
} // namespace v8::internal::compiler
......@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <functional>
#include "src/v8.h"
#include "graph-tester.h"
......
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