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

Side by Side Diff: src/serialize.cc

Issue 6116001: Use a separate marker value to allocate the arguments object on deoptimzation... (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 | « src/runtime.cc ('k') | src/x64/codegen-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 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 37, 491 37,
492 "LDoubleConstant::negative_infinity"); 492 "LDoubleConstant::negative_infinity");
493 Add(ExternalReference::power_double_double_function().address(), 493 Add(ExternalReference::power_double_double_function().address(),
494 UNCLASSIFIED, 494 UNCLASSIFIED,
495 38, 495 38,
496 "power_double_double_function"); 496 "power_double_double_function");
497 Add(ExternalReference::power_double_int_function().address(), 497 Add(ExternalReference::power_double_int_function().address(),
498 UNCLASSIFIED, 498 UNCLASSIFIED,
499 39, 499 39,
500 "power_double_int_function"); 500 "power_double_int_function");
501 Add(ExternalReference::arguments_marker_location().address(),
502 UNCLASSIFIED,
503 40,
504 "Factory::arguments_marker().location()");
501 } 505 }
502 506
503 507
504 ExternalReferenceEncoder::ExternalReferenceEncoder() 508 ExternalReferenceEncoder::ExternalReferenceEncoder()
505 : encodings_(Match) { 509 : encodings_(Match) {
506 ExternalReferenceTable* external_references = 510 ExternalReferenceTable* external_references =
507 ExternalReferenceTable::instance(); 511 ExternalReferenceTable::instance();
508 for (int i = 0; i < external_references->size(); ++i) { 512 for (int i = 0; i < external_references->size(); ++i) {
509 Put(external_references->address(i), i); 513 Put(external_references->address(i), i);
510 } 514 }
(...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); 1522 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize);
1519 } 1523 }
1520 } 1524 }
1521 int allocation_address = fullness_[space]; 1525 int allocation_address = fullness_[space];
1522 fullness_[space] = allocation_address + size; 1526 fullness_[space] = allocation_address + size;
1523 return allocation_address; 1527 return allocation_address;
1524 } 1528 }
1525 1529
1526 1530
1527 } } // namespace v8::internal 1531 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698