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

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

Issue 7929001: Initialize pre-allocated fields of JSObject with undefined. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added ARM port. Created 9 years, 3 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/builtins-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 // free, do use it, otherwise kScratchRegister will be used). 1105 // free, do use it, otherwise kScratchRegister will be used).
1106 // The min_length is a minimum limit on the value that length will have. 1106 // The min_length is a minimum limit on the value that length will have.
1107 // The algorithm has some special cases that might be omitted if the string 1107 // The algorithm has some special cases that might be omitted if the string
1108 // is known to always be long. 1108 // is known to always be long.
1109 void CopyBytes(Register destination, 1109 void CopyBytes(Register destination,
1110 Register source, 1110 Register source,
1111 Register length, 1111 Register length,
1112 int min_length = 0, 1112 int min_length = 0,
1113 Register scratch = kScratchRegister); 1113 Register scratch = kScratchRegister);
1114 1114
1115 // Initialize fields with filler values. Fields starting at |start_offset|
1116 // not including end_offset are overwritten with the value in |filler|. At
1117 // the end the loop, |start_offset| takes the value of |end_offset|.
1118 void InitializeFieldsWithFiller(Register start_offset,
1119 Register end_offset,
1120 Register filler);
1121
1115 1122
1116 // --------------------------------------------------------------------------- 1123 // ---------------------------------------------------------------------------
1117 // StatsCounter support 1124 // StatsCounter support
1118 1125
1119 void SetCounter(StatsCounter* counter, int value); 1126 void SetCounter(StatsCounter* counter, int value);
1120 void IncrementCounter(StatsCounter* counter, int value); 1127 void IncrementCounter(StatsCounter* counter, int value);
1121 void DecrementCounter(StatsCounter* counter, int value); 1128 void DecrementCounter(StatsCounter* counter, int value);
1122 1129
1123 1130
1124 // --------------------------------------------------------------------------- 1131 // ---------------------------------------------------------------------------
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1305 masm->popfd(); \ 1312 masm->popfd(); \
1306 } \ 1313 } \
1307 masm-> 1314 masm->
1308 #else 1315 #else
1309 #define ACCESS_MASM(masm) masm-> 1316 #define ACCESS_MASM(masm) masm->
1310 #endif 1317 #endif
1311 1318
1312 } } // namespace v8::internal 1319 } } // namespace v8::internal
1313 1320
1314 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1321 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698