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

Side by Side Diff: src/ia32/code-stubs-ia32.cc

Issue 7639020: Perform TODO(gc) cleanup for TODO-lockdown. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 4 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 6491 matching lines...) Expand 10 before | Expand all | Expand 10 after
6502 if (mode == INCREMENTAL_COMPACTION) { 6502 if (mode == INCREMENTAL_COMPACTION) {
6503 __ mov(Operand(esp, 1 * kPointerSize), regs_.address()); // Slot. 6503 __ mov(Operand(esp, 1 * kPointerSize), regs_.address()); // Slot.
6504 } else { 6504 } else {
6505 ASSERT(mode == INCREMENTAL); 6505 ASSERT(mode == INCREMENTAL);
6506 __ mov(regs_.scratch0(), Operand(regs_.address(), 0)); 6506 __ mov(regs_.scratch0(), Operand(regs_.address(), 0));
6507 __ mov(Operand(esp, 1 * kPointerSize), regs_.scratch0()); // Value. 6507 __ mov(Operand(esp, 1 * kPointerSize), regs_.scratch0()); // Value.
6508 } 6508 }
6509 __ mov(Operand(esp, 2 * kPointerSize), 6509 __ mov(Operand(esp, 2 * kPointerSize),
6510 Immediate(ExternalReference::isolate_address())); 6510 Immediate(ExternalReference::isolate_address()));
6511 6511
6512 // TODO(gc): Create a fast version of this C function that does not duplicate
6513 // the checks done in the stub.
6514 if (mode == INCREMENTAL_COMPACTION) { 6512 if (mode == INCREMENTAL_COMPACTION) {
6515 __ CallCFunction( 6513 __ CallCFunction(
6516 ExternalReference::incremental_evacuation_record_write_function( 6514 ExternalReference::incremental_evacuation_record_write_function(
6517 masm->isolate()), 6515 masm->isolate()),
6518 argument_count); 6516 argument_count);
6519 } else { 6517 } else {
6520 ASSERT(mode == INCREMENTAL); 6518 ASSERT(mode == INCREMENTAL);
6521 __ CallCFunction( 6519 __ CallCFunction(
6522 ExternalReference::incremental_marking_record_write_function( 6520 ExternalReference::incremental_marking_record_write_function(
6523 masm->isolate()), 6521 masm->isolate()),
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
6601 6599
6602 // Fall through when we need to inform the incremental marker. 6600 // Fall through when we need to inform the incremental marker.
6603 } 6601 }
6604 6602
6605 6603
6606 #undef __ 6604 #undef __
6607 6605
6608 } } // namespace v8::internal 6606 } } // namespace v8::internal
6609 6607
6610 #endif // V8_TARGET_ARCH_IA32 6608 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32-inl.h ('k') | src/ia32/deoptimizer-ia32.cc » ('j') | src/mark-compact.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698