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

Side by Side Diff: src/serialize.cc

Issue 6357020: Fix id for HandleScope::DeleteExtensions in serializer. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 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 | « no previous file | no next file » | 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 2, 328 2,
329 "V8::FillHeapNumberWithRandom"); 329 "V8::FillHeapNumberWithRandom");
330 330
331 Add(ExternalReference::random_uint32_function().address(), 331 Add(ExternalReference::random_uint32_function().address(),
332 RUNTIME_ENTRY, 332 RUNTIME_ENTRY,
333 3, 333 3,
334 "V8::Random"); 334 "V8::Random");
335 335
336 Add(ExternalReference::delete_handle_scope_extensions().address(), 336 Add(ExternalReference::delete_handle_scope_extensions().address(),
337 RUNTIME_ENTRY, 337 RUNTIME_ENTRY,
338 3, 338 4,
339 "HandleScope::DeleteExtensions"); 339 "HandleScope::DeleteExtensions");
340 340
341 // Miscellaneous 341 // Miscellaneous
342 Add(ExternalReference::the_hole_value_location().address(), 342 Add(ExternalReference::the_hole_value_location().address(),
343 UNCLASSIFIED, 343 UNCLASSIFIED,
344 2, 344 2,
345 "Factory::the_hole_value().location()"); 345 "Factory::the_hole_value().location()");
346 Add(ExternalReference::roots_address().address(), 346 Add(ExternalReference::roots_address().address(),
347 UNCLASSIFIED, 347 UNCLASSIFIED,
348 3, 348 3,
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 Add(ExternalReference::power_double_double_function().address(), 497 Add(ExternalReference::power_double_double_function().address(),
498 UNCLASSIFIED, 498 UNCLASSIFIED,
499 39, 499 39,
500 "power_double_double_function"); 500 "power_double_double_function");
501 Add(ExternalReference::power_double_int_function().address(), 501 Add(ExternalReference::power_double_int_function().address(),
502 UNCLASSIFIED, 502 UNCLASSIFIED,
503 40, 503 40,
504 "power_double_int_function"); 504 "power_double_int_function");
505 Add(ExternalReference::arguments_marker_location().address(), 505 Add(ExternalReference::arguments_marker_location().address(),
506 UNCLASSIFIED, 506 UNCLASSIFIED,
507 40, 507 40,
Erik Corry 2011/01/27 13:06:25 You might want to fix this one too...
508 "Factory::arguments_marker().location()"); 508 "Factory::arguments_marker().location()");
509 } 509 }
510 510
511 511
512 ExternalReferenceEncoder::ExternalReferenceEncoder() 512 ExternalReferenceEncoder::ExternalReferenceEncoder()
513 : encodings_(Match) { 513 : encodings_(Match) {
514 ExternalReferenceTable* external_references = 514 ExternalReferenceTable* external_references =
515 ExternalReferenceTable::instance(); 515 ExternalReferenceTable::instance();
516 for (int i = 0; i < external_references->size(); ++i) { 516 for (int i = 0; i < external_references->size(); ++i) {
517 Put(external_references->address(i), i); 517 Put(external_references->address(i), i);
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1526 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); 1526 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize);
1527 } 1527 }
1528 } 1528 }
1529 int allocation_address = fullness_[space]; 1529 int allocation_address = fullness_[space];
1530 fullness_[space] = allocation_address + size; 1530 fullness_[space] = allocation_address + size;
1531 return allocation_address; 1531 return allocation_address;
1532 } 1532 }
1533 1533
1534 1534
1535 } } // namespace v8::internal 1535 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698