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

Side by Side Diff: src/serialize.cc

Issue 6614010: [Isolates] Merge 6700:7030 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 9 years, 9 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/scanner.cc ('k') | src/spaces.h » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 Builtins::c_##name, \ 186 Builtins::c_##name, \
187 "Builtins::" #name }, 187 "Builtins::" #name },
188 188
189 BUILTIN_LIST_C(DEF_ENTRY_C) 189 BUILTIN_LIST_C(DEF_ENTRY_C)
190 #undef DEF_ENTRY_C 190 #undef DEF_ENTRY_C
191 191
192 #define DEF_ENTRY_C(name, ignored) \ 192 #define DEF_ENTRY_C(name, ignored) \
193 { BUILTIN, \ 193 { BUILTIN, \
194 Builtins::name, \ 194 Builtins::name, \
195 "Builtins::" #name }, 195 "Builtins::" #name },
196 #define DEF_ENTRY_A(name, kind, state) DEF_ENTRY_C(name, ignored) 196 #define DEF_ENTRY_A(name, kind, state, extra) DEF_ENTRY_C(name, ignored)
197 197
198 BUILTIN_LIST_C(DEF_ENTRY_C) 198 BUILTIN_LIST_C(DEF_ENTRY_C)
199 BUILTIN_LIST_A(DEF_ENTRY_A) 199 BUILTIN_LIST_A(DEF_ENTRY_A)
200 BUILTIN_LIST_DEBUG_A(DEF_ENTRY_A) 200 BUILTIN_LIST_DEBUG_A(DEF_ENTRY_A)
201 #undef DEF_ENTRY_C 201 #undef DEF_ENTRY_C
202 #undef DEF_ENTRY_A 202 #undef DEF_ENTRY_A
203 203
204 // Runtime functions 204 // Runtime functions
205 #define RUNTIME_ENTRY(name, nargs, ressize) \ 205 #define RUNTIME_ENTRY(name, nargs, ressize) \
206 { RUNTIME_FUNCTION, \ 206 { RUNTIME_FUNCTION, \
(...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after
1550 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); 1550 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize);
1551 } 1551 }
1552 } 1552 }
1553 int allocation_address = fullness_[space]; 1553 int allocation_address = fullness_[space];
1554 fullness_[space] = allocation_address + size; 1554 fullness_[space] = allocation_address + size;
1555 return allocation_address; 1555 return allocation_address;
1556 } 1556 }
1557 1557
1558 1558
1559 } } // namespace v8::internal 1559 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/scanner.cc ('k') | src/spaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698