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

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

Issue 54963002: JS allocations tracking for arm architecture (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« 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 // 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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 Label* gc_required, 731 Label* gc_required,
732 AllocationFlags flags); 732 AllocationFlags flags);
733 733
734 void Allocate(Register object_size, 734 void Allocate(Register object_size,
735 Register result, 735 Register result,
736 Register scratch1, 736 Register scratch1,
737 Register scratch2, 737 Register scratch2,
738 Label* gc_required, 738 Label* gc_required,
739 AllocationFlags flags); 739 AllocationFlags flags);
740 740
741 // Record a JS object allocation if allocations tracking mode is on.
742 void RecordObjectAllocation(Isolate* isolate,
743 Register object,
744 Register object_size);
745
746 void RecordObjectAllocation(Isolate* isolate,
747 Register object,
748 int object_size);
749
741 // Undo allocation in new space. The object passed and objects allocated after 750 // Undo allocation in new space. The object passed and objects allocated after
742 // it will no longer be allocated. The caller must make sure that no pointers 751 // it will no longer be allocated. The caller must make sure that no pointers
743 // are left to the object(s) no longer allocated as they would be invalid when 752 // are left to the object(s) no longer allocated as they would be invalid when
744 // allocation is undone. 753 // allocation is undone.
745 void UndoAllocationInNewSpace(Register object, Register scratch); 754 void UndoAllocationInNewSpace(Register object, Register scratch);
746 755
747 756
748 void AllocateTwoByteString(Register result, 757 void AllocateTwoByteString(Register result,
749 Register length, 758 Register length,
750 Register scratch1, 759 Register scratch1,
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1518 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1510 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1519 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1511 #else 1520 #else
1512 #define ACCESS_MASM(masm) masm-> 1521 #define ACCESS_MASM(masm) masm->
1513 #endif 1522 #endif
1514 1523
1515 1524
1516 } } // namespace v8::internal 1525 } } // namespace v8::internal
1517 1526
1518 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1527 #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