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

Side by Side Diff: src/codegen.cc

Issue 6092007: Write buffer based write barrier for IA32 and Crankshaft. Currently... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
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/code-stubs.h ('k') | src/ia32/code-stubs-ia32.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 465
466 void ArgumentsAccessStub::Generate(MacroAssembler* masm) { 466 void ArgumentsAccessStub::Generate(MacroAssembler* masm) {
467 switch (type_) { 467 switch (type_) {
468 case READ_ELEMENT: GenerateReadElement(masm); break; 468 case READ_ELEMENT: GenerateReadElement(masm); break;
469 case NEW_OBJECT: GenerateNewObject(masm); break; 469 case NEW_OBJECT: GenerateNewObject(masm); break;
470 } 470 }
471 } 471 }
472 472
473 473
474 int CEntryStub::MinorKey() { 474 int CEntryStub::MinorKey() {
475 int result = (save_doubles_ == kSaveFPRegs) ? 1 : 0;
476 #ifdef _WIN64
475 ASSERT(result_size_ == 1 || result_size_ == 2); 477 ASSERT(result_size_ == 1 || result_size_ == 2);
476 int result = save_doubles_ ? 1 : 0;
477 #ifdef _WIN64
478 return result | ((result_size_ == 1) ? 0 : 2); 478 return result | ((result_size_ == 1) ? 0 : 2);
479 #else 479 #else
480 ASSERT(result_size_ == 1);
480 return result; 481 return result;
481 #endif 482 #endif
482 } 483 }
483 484
484 485
485 } } // namespace v8::internal 486 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/ia32/code-stubs-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698