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

Side by Side Diff: src/mips/assembler-mips-inl.h

Issue 264823004: MIPS: Fix for 3303 MultithreadedParallelIsolates has a race condition. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | src/mips/builtins-mips.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 1
2 // Copyright (c) 1994-2006 Sun Microsystems Inc. 2 // Copyright (c) 1994-2006 Sun Microsystems Inc.
3 // All Rights Reserved. 3 // All Rights Reserved.
4 // 4 //
5 // Redistribution and use in source and binary forms, with or without 5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are 6 // modification, are permitted provided that the following conditions are
7 // met: 7 // met:
8 // 8 //
9 // - Redistributions of source code must retain the above copyright notice, 9 // - Redistributions of source code must retain the above copyright notice,
10 // this list of conditions and the following disclaimer. 10 // this list of conditions and the following disclaimer.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 Memory::Address_at(pc_) = address; 248 Memory::Address_at(pc_) = address;
249 if (mode == UPDATE_WRITE_BARRIER && host() != NULL) { 249 if (mode == UPDATE_WRITE_BARRIER && host() != NULL) {
250 // TODO(1550) We are passing NULL as a slot because cell can never be on 250 // TODO(1550) We are passing NULL as a slot because cell can never be on
251 // evacuation candidate. 251 // evacuation candidate.
252 host()->GetHeap()->incremental_marking()->RecordWrite( 252 host()->GetHeap()->incremental_marking()->RecordWrite(
253 host(), NULL, cell); 253 host(), NULL, cell);
254 } 254 }
255 } 255 }
256 256
257 257
258 static const int kNoCodeAgeSequenceLength = 7; 258 static const int kNoCodeAgeSequenceLength = 7 * Assembler::kInstrSize;
259 259
260 260
261 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) { 261 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) {
262 UNREACHABLE(); // This should never be reached on Arm. 262 UNREACHABLE(); // This should never be reached on Arm.
263 return Handle<Object>(); 263 return Handle<Object>();
264 } 264 }
265 265
266 266
267 Code* RelocInfo::code_age_stub() { 267 Code* RelocInfo::code_age_stub() {
268 ASSERT(rmode_ == RelocInfo::CODE_AGE_SEQUENCE); 268 ASSERT(rmode_ == RelocInfo::CODE_AGE_SEQUENCE);
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 } 422 }
423 *reinterpret_cast<Instr*>(pc_) = x; 423 *reinterpret_cast<Instr*>(pc_) = x;
424 pc_ += kInstrSize; 424 pc_ += kInstrSize;
425 CheckTrampolinePoolQuick(); 425 CheckTrampolinePoolQuick();
426 } 426 }
427 427
428 428
429 } } // namespace v8::internal 429 } } // namespace v8::internal
430 430
431 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ 431 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698