OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1302 | 1302 |
1303 // This handle will be patched with the code object on installation. | 1303 // This handle will be patched with the code object on installation. |
1304 Handle<Object> code_object_; | 1304 Handle<Object> code_object_; |
1305 | 1305 |
1306 // Helper functions for generating invokes. | 1306 // Helper functions for generating invokes. |
1307 void InvokePrologue(const ParameterCount& expected, | 1307 void InvokePrologue(const ParameterCount& expected, |
1308 const ParameterCount& actual, | 1308 const ParameterCount& actual, |
1309 Handle<Code> code_constant, | 1309 Handle<Code> code_constant, |
1310 Register code_register, | 1310 Register code_register, |
1311 Label* done, | 1311 Label* done, |
| 1312 bool* definitely_mismatches, |
1312 InvokeFlag flag, | 1313 InvokeFlag flag, |
1313 Label::Distance near_jump = Label::kFar, | 1314 Label::Distance near_jump = Label::kFar, |
1314 const CallWrapper& call_wrapper = NullCallWrapper(), | 1315 const CallWrapper& call_wrapper = NullCallWrapper(), |
1315 CallKind call_kind = CALL_AS_METHOD); | 1316 CallKind call_kind = CALL_AS_METHOD); |
1316 | 1317 |
1317 void EnterExitFramePrologue(bool save_rax); | 1318 void EnterExitFramePrologue(bool save_rax); |
1318 | 1319 |
1319 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack | 1320 // Allocates arg_stack_space * kPointerSize memory (not GCed) on the stack |
1320 // accessible via StackSpaceOperand. | 1321 // accessible via StackSpaceOperand. |
1321 void EnterExitFrameEpilogue(int arg_stack_space, bool save_doubles); | 1322 void EnterExitFrameEpilogue(int arg_stack_space, bool save_doubles); |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1448 masm->popfd(); \ | 1449 masm->popfd(); \ |
1449 } \ | 1450 } \ |
1450 masm-> | 1451 masm-> |
1451 #else | 1452 #else |
1452 #define ACCESS_MASM(masm) masm-> | 1453 #define ACCESS_MASM(masm) masm-> |
1453 #endif | 1454 #endif |
1454 | 1455 |
1455 } } // namespace v8::internal | 1456 } } // namespace v8::internal |
1456 | 1457 |
1457 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1458 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |