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

Side by Side Diff: src/arm/macro-assembler-arm.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 | « no previous file | src/arm/macro-assembler-arm.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 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_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_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 1445 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 private: 1456 private:
1457 void CallCFunctionHelper(Register function, 1457 void CallCFunctionHelper(Register function,
1458 int num_reg_arguments, 1458 int num_reg_arguments,
1459 int num_double_arguments); 1459 int num_double_arguments);
1460 1460
1461 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); 1461 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
1462 1462
1463 // Helper functions for generating invokes. 1463 // Helper functions for generating invokes.
1464 void InvokePrologue(const ParameterCount& expected, 1464 void InvokePrologue(const ParameterCount& expected,
1465 const ParameterCount& actual, 1465 const ParameterCount& actual,
1466 Handle<Code> code_constant,
1467 Register code_reg,
1468 Label* done, 1466 Label* done,
1469 bool* definitely_mismatches, 1467 bool* definitely_mismatches,
1470 InvokeFlag flag, 1468 InvokeFlag flag,
1471 const CallWrapper& call_wrapper); 1469 const CallWrapper& call_wrapper);
1472 1470
1473 void InitializeNewString(Register string, 1471 void InitializeNewString(Register string,
1474 Register length, 1472 Register length,
1475 Heap::RootListIndex map_index, 1473 Heap::RootListIndex map_index,
1476 Register scratch1, 1474 Register scratch1,
1477 Register scratch2); 1475 Register scratch2);
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
1563 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1561 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1564 #else 1562 #else
1565 #define ACCESS_MASM(masm) masm-> 1563 #define ACCESS_MASM(masm) masm->
1566 #endif 1564 #endif
1567 1565
1568 1566
1569 } // namespace internal 1567 } // namespace internal
1570 } // namespace v8 1568 } // namespace v8
1571 1569
1572 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1570 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698