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

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

Issue 288213002: Refactor MacroAssembler::Prologue. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comment Created 6 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | 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 "assembler.h" 8 #include "assembler.h"
9 #include "frames.h" 9 #include "frames.h"
10 #include "v8globals.h" 10 #include "v8globals.h"
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 // won't be converted. 512 // won't be converted.
513 void LoadNumberAsInt32(Register object, 513 void LoadNumberAsInt32(Register object,
514 Register dst, 514 Register dst,
515 Register heap_number_map, 515 Register heap_number_map,
516 Register scratch, 516 Register scratch,
517 DwVfpRegister double_scratch0, 517 DwVfpRegister double_scratch0,
518 LowDwVfpRegister double_scratch1, 518 LowDwVfpRegister double_scratch1,
519 Label* not_int32); 519 Label* not_int32);
520 520
521 // Generates function and stub prologue code. 521 // Generates function and stub prologue code.
522 void Prologue(CompilationInfo* info); 522 void StubPrologue();
523 void Prologue(bool code_pre_aging);
523 524
524 // Enter exit frame. 525 // Enter exit frame.
525 // stack_space - extra stack space, used for alignment before call to C. 526 // stack_space - extra stack space, used for alignment before call to C.
526 void EnterExitFrame(bool save_doubles, int stack_space = 0); 527 void EnterExitFrame(bool save_doubles, int stack_space = 0);
527 528
528 // Leave the current exit frame. Expects the return value in r0. 529 // Leave the current exit frame. Expects the return value in r0.
529 // Expect the number of values, pushed prior to the exit frame, to 530 // Expect the number of values, pushed prior to the exit frame, to
530 // remove in a register (or no_reg, if there is nothing to remove). 531 // remove in a register (or no_reg, if there is nothing to remove).
531 void LeaveExitFrame(bool save_doubles, 532 void LeaveExitFrame(bool save_doubles,
532 Register argument_count, 533 Register argument_count,
(...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1577 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1577 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1578 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1578 #else 1579 #else
1579 #define ACCESS_MASM(masm) masm-> 1580 #define ACCESS_MASM(masm) masm->
1580 #endif 1581 #endif
1581 1582
1582 1583
1583 } } // namespace v8::internal 1584 } } // namespace v8::internal
1584 1585
1585 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1586 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698