Skip to content

Commit

Permalink
Upgrade v8 to 1.3.18
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Oct 29, 2009
1 parent 659954d commit 6959a1d
Show file tree
Hide file tree
Showing 54 changed files with 1,022 additions and 1,370 deletions.
7 changes: 7 additions & 0 deletions deps/v8/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2009-10-29: Version 1.3.18

Reverted a change which caused crashes in RegExp replace.

Reverted a change which caused Chromium ui_tests failure.


2009-10-28: Version 1.3.17

Added API method to get simple heap statistics.
Expand Down
9 changes: 0 additions & 9 deletions deps/v8/src/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,6 @@ static inline v8::internal::Handle<v8::internal::Object> FromCData(T obj) {
}


class ApiFunction {
public:
explicit ApiFunction(v8::internal::Address addr) : addr_(addr) { }
v8::internal::Address address() { return addr_; }
private:
v8::internal::Address addr_;
};


v8::Arguments::Arguments(v8::Local<v8::Value> data,
v8::Local<v8::Object> holder,
v8::Local<v8::Function> callee,
Expand Down
18 changes: 9 additions & 9 deletions deps/v8/src/arm/codegen-arm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5795,7 +5795,7 @@ void CEntryStub::GenerateCore(MacroAssembler* masm,
Label* throw_normal_exception,
Label* throw_termination_exception,
Label* throw_out_of_memory_exception,
ExitFrame::Mode mode,
StackFrame::Type frame_type,
bool do_gc,
bool always_allocate) {
// r0: result parameter for PerformGC, if any
Expand Down Expand Up @@ -5855,7 +5855,7 @@ void CEntryStub::GenerateCore(MacroAssembler* masm,
// r0:r1: result
// sp: stack pointer
// fp: frame pointer
__ LeaveExitFrame(mode);
__ LeaveExitFrame(frame_type);

// check if we should retry or throw exception
Label retry;
Expand Down Expand Up @@ -5901,12 +5901,12 @@ void CEntryStub::GenerateBody(MacroAssembler* masm, bool is_debug_break) {
// this by performing a garbage collection and retrying the
// builtin once.

ExitFrame::Mode mode = is_debug_break
? ExitFrame::MODE_DEBUG
: ExitFrame::MODE_NORMAL;
StackFrame::Type frame_type = is_debug_break
? StackFrame::EXIT_DEBUG
: StackFrame::EXIT;

// Enter the exit frame that transitions from JavaScript to C++.
__ EnterExitFrame(mode);
__ EnterExitFrame(frame_type);

// r4: number of arguments (C callee-saved)
// r5: pointer to builtin function (C callee-saved)
Expand All @@ -5921,7 +5921,7 @@ void CEntryStub::GenerateBody(MacroAssembler* masm, bool is_debug_break) {
&throw_normal_exception,
&throw_termination_exception,
&throw_out_of_memory_exception,
mode,
frame_type,
false,
false);

Expand All @@ -5930,7 +5930,7 @@ void CEntryStub::GenerateBody(MacroAssembler* masm, bool is_debug_break) {
&throw_normal_exception,
&throw_termination_exception,
&throw_out_of_memory_exception,
mode,
frame_type,
true,
false);

Expand All @@ -5941,7 +5941,7 @@ void CEntryStub::GenerateBody(MacroAssembler* masm, bool is_debug_break) {
&throw_normal_exception,
&throw_termination_exception,
&throw_out_of_memory_exception,
mode,
frame_type,
true,
true);

Expand Down
Loading

0 comments on commit 6959a1d

Please sign in to comment.