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

Side by Side Diff: src/serialize.cc

Issue 11428137: ARM: Make use of d16-d31 when available. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address more comments Created 8 years 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
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 Builtins::c_##name, \ 150 Builtins::c_##name, \
151 "Builtins::" #name }, 151 "Builtins::" #name },
152 152
153 BUILTIN_LIST_C(DEF_ENTRY_C) 153 BUILTIN_LIST_C(DEF_ENTRY_C)
154 #undef DEF_ENTRY_C 154 #undef DEF_ENTRY_C
155 155
156 #define DEF_ENTRY_C(name, ignored) \ 156 #define DEF_ENTRY_C(name, ignored) \
157 { BUILTIN, \ 157 { BUILTIN, \
158 Builtins::k##name, \ 158 Builtins::k##name, \
159 "Builtins::" #name }, 159 "Builtins::" #name },
160 #define DEF_ENTRY_A(name, kind, state, extra) DEF_ENTRY_C(name, ignored) 160 #define DEF_ENTRY_A(name, kind, state, extra, extra2) DEF_ENTRY_C(name, ignored)
161 161
162 BUILTIN_LIST_C(DEF_ENTRY_C) 162 BUILTIN_LIST_C(DEF_ENTRY_C)
163 BUILTIN_LIST_A(DEF_ENTRY_A) 163 BUILTIN_LIST_A(DEF_ENTRY_A)
164 BUILTIN_LIST_DEBUG_A(DEF_ENTRY_A) 164 BUILTIN_LIST_DEBUG_A(DEF_ENTRY_A)
165 #undef DEF_ENTRY_C 165 #undef DEF_ENTRY_C
166 #undef DEF_ENTRY_A 166 #undef DEF_ENTRY_A
167 167
168 // Runtime functions 168 // Runtime functions
169 #define RUNTIME_ENTRY(name, nargs, ressize) \ 169 #define RUNTIME_ENTRY(name, nargs, ressize) \
170 { RUNTIME_FUNCTION, \ 170 { RUNTIME_FUNCTION, \
(...skipping 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after
1623 1623
1624 bool SnapshotByteSource::AtEOF() { 1624 bool SnapshotByteSource::AtEOF() {
1625 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false; 1625 if (0u + length_ - position_ > 2 * sizeof(uint32_t)) return false;
1626 for (int x = position_; x < length_; x++) { 1626 for (int x = position_; x < length_; x++) {
1627 if (data_[x] != SerializerDeserializer::nop()) return false; 1627 if (data_[x] != SerializerDeserializer::nop()) return false;
1628 } 1628 }
1629 return true; 1629 return true;
1630 } 1630 }
1631 1631
1632 } } // namespace v8::internal 1632 } } // namespace v8::internal
OLDNEW
« src/platform-linux.cc ('K') | « src/platform-linux.cc ('k') | src/v8globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698