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

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

Issue 355793003: Replace HeapNumber as doublebox with an explicit MutableHeapNumber. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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/mark-compact.cc ('k') | src/mips/macro-assembler-mips.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_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 Label* gc_required); 539 Label* gc_required);
540 540
541 // Allocates a heap number or jumps to the gc_required label if the young 541 // Allocates a heap number or jumps to the gc_required label if the young
542 // space is full and a scavenge is needed. All registers are clobbered also 542 // space is full and a scavenge is needed. All registers are clobbered also
543 // when control continues at the gc_required label. 543 // when control continues at the gc_required label.
544 void AllocateHeapNumber(Register result, 544 void AllocateHeapNumber(Register result,
545 Register scratch1, 545 Register scratch1,
546 Register scratch2, 546 Register scratch2,
547 Register heap_number_map, 547 Register heap_number_map,
548 Label* gc_required, 548 Label* gc_required,
549 TaggingMode tagging_mode = TAG_RESULT); 549 TaggingMode tagging_mode = TAG_RESULT,
550 MutableMode mode = IMMUTABLE);
550 void AllocateHeapNumberWithValue(Register result, 551 void AllocateHeapNumberWithValue(Register result,
551 FPURegister value, 552 FPURegister value,
552 Register scratch1, 553 Register scratch1,
553 Register scratch2, 554 Register scratch2,
554 Label* gc_required); 555 Label* gc_required);
555 556
556 // --------------------------------------------------------------------------- 557 // ---------------------------------------------------------------------------
557 // Instruction macros. 558 // Instruction macros.
558 559
559 #define DEFINE_INSTRUCTION(instr) \ 560 #define DEFINE_INSTRUCTION(instr) \
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1688 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1689 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1689 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1690 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1690 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1691 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1691 #else 1692 #else
1692 #define ACCESS_MASM(masm) masm-> 1693 #define ACCESS_MASM(masm) masm->
1693 #endif 1694 #endif
1694 1695
1695 } } // namespace v8::internal 1696 } } // namespace v8::internal
1696 1697
1697 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1698 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698