mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
Add v8 patch to fix mac x64 build.
http://codereview.chromium.org/284012
This commit is contained in:
parent
8e6d978bba
commit
cfe5876350
2
deps/v8/src/x64/macro-assembler-x64.cc
vendored
2
deps/v8/src/x64/macro-assembler-x64.cc
vendored
@ -699,7 +699,7 @@ void MacroAssembler::SmiTryAddConstant(Register dst,
|
||||
Smi* constant,
|
||||
Label* on_not_smi_result) {
|
||||
// Does not assume that src is a smi.
|
||||
ASSERT_EQ(static_cast<intptr_t>(1), kSmiTagMask);
|
||||
ASSERT_EQ(static_cast<int>(1), static_cast<int>(kSmiTagMask));
|
||||
ASSERT_EQ(0, kSmiTag);
|
||||
ASSERT(!dst.is(kScratchRegister));
|
||||
ASSERT(!src.is(kScratchRegister));
|
||||
|
@ -88,7 +88,7 @@ static Local<Object> BuildStatsObject(struct stat * s) {
|
||||
stats->Set(RDEV_SYMBOL, Integer::New(s->st_rdev));
|
||||
|
||||
/* total size, in bytes */
|
||||
stats->Set(SIZE_SYMBOL, Integer::New(s->st_size));
|
||||
stats->Set(SIZE_SYMBOL, Integer::NewFromUnsigned(s->st_size));
|
||||
|
||||
/* blocksize for filesystem I/O */
|
||||
stats->Set(BLKSIZE_SYMBOL, Integer::New(s->st_blksize));
|
||||
|
Loading…
Reference in New Issue
Block a user