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

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

Issue 40153003: AllocationProfiler: Inital version of RecordObjectAllocation for hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips, ia32 and arm platforms were added Created 7 years, 2 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/x64/lithium-x64.cc ('k') | src/x64/macro-assembler-x64.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 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1094 AllocationFlags flags); 1094 AllocationFlags flags);
1095 1095
1096 void Allocate(Register object_size, 1096 void Allocate(Register object_size,
1097 Register result, 1097 Register result,
1098 Register result_end, 1098 Register result_end,
1099 Register scratch, 1099 Register scratch,
1100 Label* gc_required, 1100 Label* gc_required,
1101 AllocationFlags flags); 1101 AllocationFlags flags);
1102 1102
1103 // Record a JS object allocation if allocations tracking mode is on. 1103 // Record a JS object allocation if allocations tracking mode is on.
1104 void RecordObjectAllocation(Isolate* isolate, 1104 void RecordObjectAllocation(Register object,
1105 Register object,
1106 Register object_size); 1105 Register object_size);
1107 1106
1108 void RecordObjectAllocation(Isolate* isolate, 1107 void RecordObjectAllocation(Register object,
1109 Register object,
1110 int object_size); 1108 int object_size);
1111 1109
1112 // Undo allocation in new space. The object passed and objects allocated after 1110 // Undo allocation in new space. The object passed and objects allocated after
1113 // it will no longer be allocated. Make sure that no pointers are left to the 1111 // it will no longer be allocated. Make sure that no pointers are left to the
1114 // object(s) no longer allocated as they would be invalid when allocation is 1112 // object(s) no longer allocated as they would be invalid when allocation is
1115 // un-done. 1113 // un-done.
1116 void UndoAllocationInNewSpace(Register object); 1114 void UndoAllocationInNewSpace(Register object);
1117 1115
1118 // Allocate a heap number in new space with undefined value. Returns 1116 // Allocate a heap number in new space with undefined value. Returns
1119 // tagged pointer in result register, or jumps to gc_required if new 1117 // tagged pointer in result register, or jumps to gc_required if new
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
1588 masm->popfq(); \ 1586 masm->popfq(); \
1589 } \ 1587 } \
1590 masm-> 1588 masm->
1591 #else 1589 #else
1592 #define ACCESS_MASM(masm) masm-> 1590 #define ACCESS_MASM(masm) masm->
1593 #endif 1591 #endif
1594 1592
1595 } } // namespace v8::internal 1593 } } // namespace v8::internal
1596 1594
1597 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1595 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698