Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Side by Side Diff: src/ppc/macro-assembler-ppc.h

Issue 1455293004: Simplify MacroAssembler::InvokePrologue a bit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix MIPS64 compilation. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC_MACRO_ASSEMBLER_PPC_H_ 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_
6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_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 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after
1479 static const int kSmiShift = kSmiTagSize + kSmiShiftSize; 1479 static const int kSmiShift = kSmiTagSize + kSmiShiftSize;
1480 1480
1481 void CallCFunctionHelper(Register function, int num_reg_arguments, 1481 void CallCFunctionHelper(Register function, int num_reg_arguments,
1482 int num_double_arguments); 1482 int num_double_arguments);
1483 1483
1484 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al, 1484 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al,
1485 CRegister cr = cr7); 1485 CRegister cr = cr7);
1486 1486
1487 // Helper functions for generating invokes. 1487 // Helper functions for generating invokes.
1488 void InvokePrologue(const ParameterCount& expected, 1488 void InvokePrologue(const ParameterCount& expected,
1489 const ParameterCount& actual, Handle<Code> code_constant, 1489 const ParameterCount& actual, Label* done,
1490 Register code_reg, Label* done,
1491 bool* definitely_mismatches, InvokeFlag flag, 1490 bool* definitely_mismatches, InvokeFlag flag,
1492 const CallWrapper& call_wrapper); 1491 const CallWrapper& call_wrapper);
1493 1492
1494 void InitializeNewString(Register string, Register length, 1493 void InitializeNewString(Register string, Register length,
1495 Heap::RootListIndex map_index, Register scratch1, 1494 Heap::RootListIndex map_index, Register scratch1,
1496 Register scratch2); 1495 Register scratch2);
1497 1496
1498 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace. 1497 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace.
1499 void InNewSpace(Register object, Register scratch, 1498 void InNewSpace(Register object, Register scratch,
1500 Condition cond, // eq for new space, ne otherwise. 1499 Condition cond, // eq for new space, ne otherwise.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 #define ACCESS_MASM(masm) \ 1574 #define ACCESS_MASM(masm) \
1576 masm->stop(__FILE_LINE__); \ 1575 masm->stop(__FILE_LINE__); \
1577 masm-> 1576 masm->
1578 #else 1577 #else
1579 #define ACCESS_MASM(masm) masm-> 1578 #define ACCESS_MASM(masm) masm->
1580 #endif 1579 #endif
1581 } // namespace internal 1580 } // namespace internal
1582 } // namespace v8 1581 } // namespace v8
1583 1582
1584 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1583 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698