Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Follow-up fix for v8 cygwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus authored and ry committed Feb 10, 2011
1 parent fd013d1 commit 583f2e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deps/v8/src/ia32/macro-assembler-ia32.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ MaybeObject* MacroAssembler::TryTailCallRuntime(Runtime::FunctionId fid,
// If false, it is returned as a pointer to a preallocated by caller memory
// region. Pointer to this region should be passed to a function as an
// implicit first argument.
#if defined(USING_BSD_ABI) || defined(__MINGW32__)
#if defined(USING_BSD_ABI) || defined(__MINGW32__) || defined(__CYGWIN__)
static const bool kReturnHandlesDirectly = true;
#else
static const bool kReturnHandlesDirectly = false;
Expand Down
1 change: 0 additions & 1 deletion deps/v8/src/platform-cygwin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,6 @@ Sampler::Sampler(int interval)


Sampler::~Sampler() {
ASSERT(!data_->signal_sender_launched_);
delete data_;
}

Expand Down
4 changes: 2 additions & 2 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ def configure(conf):
o = Options.options

conf.env["USE_DEBUG"] = o.debug
# Snapshot building does noet seem to work on mingw32
conf.env["SNAPSHOT_V8"] = not o.without_snapshot and not sys.platform.startswith("win32")
# Snapshot building does noet seem to work on cygwin and mingw32
conf.env["SNAPSHOT_V8"] = not o.without_snapshot and not sys.platform.startswith("cygwin") and not sys.platform.startswith("win32")
if sys.platform.startswith("sunos"):
conf.env["SNAPSHOT_V8"] = False
conf.env["USE_PROFILING"] = o.profile
Expand Down

0 comments on commit 583f2e5

Please sign in to comment.