Skip to content

Commit

Permalink
deps: upgrade v8 to 4.1.0.12
Browse files Browse the repository at this point in the history
No out-of-tree patches, yay!

PR-URL: #555
Reviewed-By: Fedor Indutny <[email protected]>
  • Loading branch information
bnoordhuis committed Jan 22, 2015
1 parent ada2a43 commit 069c0df
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions deps/v8/src/accessors.cc
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,9 @@ void Accessors::RegExpSourceGetter(
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate());
HandleScope scope(isolate);

Handle<Object> receiver =
Utils::OpenHandle(*v8::Local<v8::Value>(info.This()));
Handle<JSRegExp> regexp = Handle<JSRegExp>::cast(receiver);
Handle<Object> holder =
Utils::OpenHandle(*v8::Local<v8::Value>(info.Holder()));
Handle<JSRegExp> regexp = Handle<JSRegExp>::cast(holder);
Handle<String> result;
if (regexp->TypeTag() == JSRegExp::NOT_COMPILED) {
result = isolate->factory()->empty_string();
Expand Down
4 changes: 2 additions & 2 deletions deps/v8/src/base/atomicops_internals_mips64_gcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,
"2:\n"
".set pop\n"
: "=&r" (prev), "=m" (*ptr), "=&r" (tmp)
: "Ir" (old_value), "r" (new_value), "m" (*ptr)
: "r" (old_value), "r" (new_value), "m" (*ptr)
: "memory");
return prev;
}
Expand Down Expand Up @@ -196,7 +196,7 @@ inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr,
"2:\n"
".set pop\n"
: "=&r" (prev), "=m" (*ptr), "=&r" (tmp)
: "Ir" (old_value), "r" (new_value), "m" (*ptr)
: "r" (old_value), "r" (new_value), "m" (*ptr)
: "memory");
return prev;
}
Expand Down
2 changes: 1 addition & 1 deletion deps/v8/src/base/atomicops_internals_mips_gcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,
"2:\n"
".set pop\n"
: "=&r" (prev), "=&r" (tmp)
: "Ir" (old_value), "r" (new_value), "r" (ptr)
: "r" (old_value), "r" (new_value), "r" (ptr)
: "memory");
return prev;
}
Expand Down
3 changes: 2 additions & 1 deletion deps/v8/src/ic/mips/ic-compiler-mips.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@ Handle<Code> PropertyICCompiler::CompilePolymorphic(TypeHandleList* types,
// Separate compare from branch, to provide path for above JumpIfSmi().
Handle<WeakCell> cell = Map::WeakCellForMap(map);
__ GetWeakValue(match, cell);
__ Subu(match, match, Operand(map_reg));
if (type->Is(HeapType::Number())) {
DCHECK(!number_case.is_unused());
__ bind(&number_case);
}
__ Jump(handlers->at(current), RelocInfo::CODE_TARGET, eq, match,
Operand(map_reg));
Operand(zero_reg));
}
}
DCHECK(number_of_handled_maps != 0);
Expand Down
3 changes: 2 additions & 1 deletion deps/v8/src/ic/mips64/ic-compiler-mips64.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@ Handle<Code> PropertyICCompiler::CompilePolymorphic(TypeHandleList* types,
// Separate compare from branch, to provide path for above JumpIfSmi().
Handle<WeakCell> cell = Map::WeakCellForMap(map);
__ GetWeakValue(match, cell);
__ Dsubu(match, match, Operand(map_reg));
if (type->Is(HeapType::Number())) {
DCHECK(!number_case.is_unused());
__ bind(&number_case);
}
__ Jump(handlers->at(current), RelocInfo::CODE_TARGET, eq, match,
Operand(map_reg));
Operand(zero_reg));
}
}
DCHECK(number_of_handled_maps != 0);
Expand Down
2 changes: 1 addition & 1 deletion deps/v8/src/preparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -2905,7 +2905,7 @@ ParserBase<Traits>::ParseTemplateLiteral(ExpressionT tag, int start, bool* ok) {
Next();

if (next == Token::EOS) {
ReportMessageAt(Scanner::Location(start, peek_position()),
ReportMessageAt(Scanner::Location(start, position()),
"unterminated_template");
*ok = false;
return Traits::EmptyExpression();
Expand Down
2 changes: 1 addition & 1 deletion deps/v8/src/version.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#define MAJOR_VERSION 4
#define MINOR_VERSION 1
#define BUILD_NUMBER 0
#define PATCH_LEVEL 7
#define PATCH_LEVEL 12
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
#define IS_CANDIDATE_VERSION 0
Expand Down

0 comments on commit 069c0df

Please sign in to comment.