Committing http://codereview.chromium.org/1543003 for pvalchev and sprewell
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4341 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
0119e80908
commit
77fb69b6dc
@ -112,8 +112,9 @@ typedef byte* Address;
|
|||||||
#define V8PRIxPTR "lx"
|
#define V8PRIxPTR "lx"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__) && defined(__MACH__)
|
#if (defined(__APPLE__) && defined(__MACH__)) || \
|
||||||
#define USING_MAC_ABI
|
defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||||
|
#define USING_BSD_ABI
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Code-point values in Unicode 4.0 are 21 bits wide.
|
// Code-point values in Unicode 4.0 are 21 bits wide.
|
||||||
|
@ -11376,7 +11376,7 @@ void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) {
|
|||||||
// If true, a Handle<T> passed by value is passed and returned by
|
// If true, a Handle<T> passed by value is passed and returned by
|
||||||
// using the location_ field directly. If false, it is passed and
|
// using the location_ field directly. If false, it is passed and
|
||||||
// returned as a pointer to a handle.
|
// returned as a pointer to a handle.
|
||||||
#ifdef USING_MAC_ABI
|
#ifdef USING_BSD_ABI
|
||||||
static const bool kPassHandlesDirectly = true;
|
static const bool kPassHandlesDirectly = true;
|
||||||
#else
|
#else
|
||||||
static const bool kPassHandlesDirectly = false;
|
static const bool kPassHandlesDirectly = false;
|
||||||
|
@ -74,10 +74,15 @@
|
|||||||
'LinkIncremental': '2',
|
'LinkIncremental': '2',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'conditions': [
|
||||||
|
['OS=="freebsd" or OS=="openbsd"', {
|
||||||
|
'cflags': [ '-I/usr/local/include' ],
|
||||||
|
}],
|
||||||
|
],
|
||||||
},
|
},
|
||||||
'Release': {
|
'Release': {
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['OS=="linux"', {
|
['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
|
||||||
'cflags!': [
|
'cflags!': [
|
||||||
'-O2',
|
'-O2',
|
||||||
'-Os',
|
'-Os',
|
||||||
@ -97,6 +102,9 @@
|
|||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
|
['OS=="freebsd" or OS=="openbsd"', {
|
||||||
|
'cflags': [ '-I/usr/local/include' ],
|
||||||
|
}],
|
||||||
['OS=="mac"', {
|
['OS=="mac"', {
|
||||||
'xcode_settings': {
|
'xcode_settings': {
|
||||||
'GCC_OPTIMIZATION_LEVEL': '3', # -O3
|
'GCC_OPTIMIZATION_LEVEL': '3', # -O3
|
||||||
@ -541,6 +549,17 @@
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
['OS=="freebsd"', {
|
||||||
|
'link_settings': {
|
||||||
|
'libraries': [
|
||||||
|
'-L/usr/local/lib -lexecinfo',
|
||||||
|
]},
|
||||||
|
'sources': [
|
||||||
|
'../../src/platform-freebsd.cc',
|
||||||
|
'../../src/platform-posix.cc'
|
||||||
|
],
|
||||||
|
}
|
||||||
|
],
|
||||||
['OS=="openbsd"', {
|
['OS=="openbsd"', {
|
||||||
'link_settings': {
|
'link_settings': {
|
||||||
'libraries': [
|
'libraries': [
|
||||||
|
Loading…
Reference in New Issue
Block a user