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
33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
$OpenBSD: patch-v8_src_x64_macro-assembler-x64_h,v 1.2 2011/04/29 13:18:02 robert Exp $
|
|
--- v8/src/x64/macro-assembler-x64.h.orig Tue Apr 26 10:22:52 2011
|
|
+++ v8/src/x64/macro-assembler-x64.h Thu Apr 28 11:17:49 2011
|
|
@@ -263,8 +263,9 @@ class MacroAssembler: public Assembler {
|
|
int power);
|
|
|
|
|
|
- // Simple comparison of smis.
|
|
- void SmiCompare(Register dst, Register src);
|
|
+ // Simple comparison of smis. Both sides must be known smis to use these,
|
|
+ // otherwise use Cmp.
|
|
+ void SmiCompare(Register smi1, Register smi2);
|
|
void SmiCompare(Register dst, Smi* src);
|
|
void SmiCompare(Register dst, const Operand& src);
|
|
void SmiCompare(const Operand& dst, Register src);
|
|
@@ -594,6 +595,8 @@ class MacroAssembler: public Assembler {
|
|
void Move(const Operand& dst, Handle<Object> source);
|
|
void Cmp(Register dst, Handle<Object> source);
|
|
void Cmp(const Operand& dst, Handle<Object> source);
|
|
+ void Cmp(Register dst, Smi* src);
|
|
+ void Cmp(const Operand& dst, Smi* src);
|
|
void Push(Handle<Object> source);
|
|
|
|
// Emit code to discard a non-negative number of pointer-sized elements
|
|
@@ -667,6 +670,7 @@ class MacroAssembler: public Assembler {
|
|
|
|
// Abort execution if argument is not a smi. Used in debug code.
|
|
void AbortIfNotSmi(Register object);
|
|
+ void AbortIfNotSmi(const Operand& object);
|
|
|
|
// Abort execution if argument is a string. Used in debug code.
|
|
void AbortIfNotString(Register object);
|