089acff6fe
+ switch from using system sqlite to the bundled one because they have many modifications that are needed + add a new mirror for the distfile because the google one is utterly slow
44 lines
2.0 KiB
Plaintext
44 lines
2.0 KiB
Plaintext
$OpenBSD: patch-v8_src_x64_full-codegen-x64_cc,v 1.2 2011/04/29 13:18:02 robert Exp $
|
|
--- v8/src/x64/full-codegen-x64.cc.orig Tue Apr 26 10:22:52 2011
|
|
+++ v8/src/x64/full-codegen-x64.cc Thu Apr 28 11:17:49 2011
|
|
@@ -991,7 +991,7 @@ void FullCodeGenerator::VisitForInStatement(ForInState
|
|
__ push(rcx); // Enumerable.
|
|
__ push(rbx); // Current entry.
|
|
__ InvokeBuiltin(Builtins::FILTER_KEY, CALL_FUNCTION);
|
|
- __ SmiCompare(rax, Smi::FromInt(0));
|
|
+ __ Cmp(rax, Smi::FromInt(0));
|
|
__ j(equal, loop_statement.continue_target());
|
|
__ movq(rbx, rax);
|
|
|
|
@@ -2498,15 +2498,15 @@ void FullCodeGenerator::EmitIsConstructCall(ZoneList<E
|
|
|
|
// Skip the arguments adaptor frame if it exists.
|
|
Label check_frame_marker;
|
|
- __ SmiCompare(Operand(rax, StandardFrameConstants::kContextOffset),
|
|
- Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR));
|
|
+ __ Cmp(Operand(rax, StandardFrameConstants::kContextOffset),
|
|
+ Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR));
|
|
__ j(not_equal, &check_frame_marker);
|
|
__ movq(rax, Operand(rax, StandardFrameConstants::kCallerFPOffset));
|
|
|
|
// Check the marker in the calling frame.
|
|
__ bind(&check_frame_marker);
|
|
- __ SmiCompare(Operand(rax, StandardFrameConstants::kMarkerOffset),
|
|
- Smi::FromInt(StackFrame::CONSTRUCT));
|
|
+ __ Cmp(Operand(rax, StandardFrameConstants::kMarkerOffset),
|
|
+ Smi::FromInt(StackFrame::CONSTRUCT));
|
|
PrepareForBailoutBeforeSplit(TOS_REG, true, if_true, if_false);
|
|
Split(equal, if_true, if_false, fall_through);
|
|
|
|
@@ -2560,8 +2560,8 @@ void FullCodeGenerator::EmitArgumentsLength(ZoneList<E
|
|
|
|
// Check if the calling frame is an arguments adaptor frame.
|
|
__ movq(rbx, Operand(rbp, StandardFrameConstants::kCallerFPOffset));
|
|
- __ SmiCompare(Operand(rbx, StandardFrameConstants::kContextOffset),
|
|
- Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR));
|
|
+ __ Cmp(Operand(rbx, StandardFrameConstants::kContextOffset),
|
|
+ Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR));
|
|
__ j(not_equal, &exit);
|
|
|
|
// Arguments adaptor case: Read the arguments length from the
|