OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ |
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 | 337 |
338 void InvokeFunction(Register function, const ParameterCount& expected, | 338 void InvokeFunction(Register function, const ParameterCount& expected, |
339 const ParameterCount& actual, InvokeFlag flag, | 339 const ParameterCount& actual, InvokeFlag flag, |
340 const CallWrapper& call_wrapper); | 340 const CallWrapper& call_wrapper); |
341 | 341 |
342 void InvokeFunction(Handle<JSFunction> function, | 342 void InvokeFunction(Handle<JSFunction> function, |
343 const ParameterCount& expected, | 343 const ParameterCount& expected, |
344 const ParameterCount& actual, InvokeFlag flag, | 344 const ParameterCount& actual, InvokeFlag flag, |
345 const CallWrapper& call_wrapper); | 345 const CallWrapper& call_wrapper); |
346 | 346 |
| 347 void PairShl(Register high, Register low, uint8_t imm8); |
| 348 void PairShl_cl(Register high, Register low); |
347 | 349 |
348 // Expression support | 350 // Expression support |
349 // Support for constant splitting. | 351 // Support for constant splitting. |
350 bool IsUnsafeImmediate(const Immediate& x); | 352 bool IsUnsafeImmediate(const Immediate& x); |
351 void SafeMove(Register dst, const Immediate& x); | 353 void SafeMove(Register dst, const Immediate& x); |
352 void SafePush(const Immediate& x); | 354 void SafePush(const Immediate& x); |
353 | 355 |
354 // Compare object type for heap object. | 356 // Compare object type for heap object. |
355 // Incoming register is heap_object and outgoing register is map. | 357 // Incoming register is heap_object and outgoing register is map. |
356 void CmpObjectType(Register heap_object, InstanceType type, Register map); | 358 void CmpObjectType(Register heap_object, InstanceType type, Register map); |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 } \ | 1008 } \ |
1007 masm-> | 1009 masm-> |
1008 #else | 1010 #else |
1009 #define ACCESS_MASM(masm) masm-> | 1011 #define ACCESS_MASM(masm) masm-> |
1010 #endif | 1012 #endif |
1011 | 1013 |
1012 } // namespace internal | 1014 } // namespace internal |
1013 } // namespace v8 | 1015 } // namespace v8 |
1014 | 1016 |
1015 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1017 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |