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

Commit

Permalink
Upgrade V8 to 3.1.8.14
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Apr 30, 2011
1 parent 0b1920b commit eb57d1b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion deps/v8/src/arm/code-stubs-arm.cc
Expand Up @@ -3425,21 +3425,27 @@ void TypeRecordingBinaryOpStub::GenerateInt32Stub(MacroAssembler* masm) {
// Save the left value on the stack.
__ Push(r5, r4);

Label pop_and_call_runtime;

// Allocate a heap number to store the result.
heap_number_result = r5;
GenerateHeapResultAllocation(masm,
heap_number_result,
heap_number_map,
scratch1,
scratch2,
&call_runtime);
&pop_and_call_runtime);

// Load the left value from the value saved on the stack.
__ Pop(r1, r0);

// Call the C function to handle the double operation.
FloatingPointHelper::CallCCodeForDoubleOperation(
masm, op_, heap_number_result, scratch1);

__ bind(&pop_and_call_runtime);
__ Drop(2);
__ b(&call_runtime);
}

break;
Expand Down
4 changes: 2 additions & 2 deletions deps/v8/src/builtins.cc
Expand Up @@ -818,8 +818,8 @@ BUILTIN(ArraySplice) {
const int delta = actual_delete_count - item_count;

if (actual_start > 0) {
Object** start = elms->data_start();
memmove(start + delta, start, actual_start * kPointerSize);
AssertNoAllocation no_gc;
MoveElements(&no_gc, elms, delta, elms, 0, actual_start);
}

elms = LeftTrimFixedArray(elms, delta);
Expand Down
2 changes: 1 addition & 1 deletion deps/v8/src/runtime.cc
Expand Up @@ -2625,7 +2625,7 @@ MUST_USE_RESULT static MaybeObject* StringReplaceRegExpWithEmptyString(
end = RegExpImpl::GetCapture(match_info_array, 1);
}

int length = subject->length();
int length = subject_handle->length();
int new_length = length - (end - start);
if (new_length == 0) {
return Heap::empty_string();
Expand Down
2 changes: 1 addition & 1 deletion deps/v8/src/version.cc
Expand Up @@ -35,7 +35,7 @@
#define MAJOR_VERSION 3
#define MINOR_VERSION 1
#define BUILD_NUMBER 8
#define PATCH_LEVEL 10
#define PATCH_LEVEL 14
#define CANDIDATE_VERSION false

// Define SONAME to have the SCons build the put a specific SONAME into the
Expand Down

0 comments on commit eb57d1b

Please sign in to comment.