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

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

Issue 1474763008: Always pass an Isolate to AssemblerBase (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years 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
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/ia32/codegen-ia32.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 visitor->VisitRuntimeEntry(this); 298 visitor->VisitRuntimeEntry(this);
299 } 299 }
300 } 300 }
301 301
302 302
303 template<typename StaticVisitor> 303 template<typename StaticVisitor>
304 void RelocInfo::Visit(Heap* heap) { 304 void RelocInfo::Visit(Heap* heap) {
305 RelocInfo::Mode mode = rmode(); 305 RelocInfo::Mode mode = rmode();
306 if (mode == RelocInfo::EMBEDDED_OBJECT) { 306 if (mode == RelocInfo::EMBEDDED_OBJECT) {
307 StaticVisitor::VisitEmbeddedPointer(heap, this); 307 StaticVisitor::VisitEmbeddedPointer(heap, this);
308 Assembler::FlushICacheWithoutIsolate(pc_, sizeof(Address)); 308 Assembler::FlushICache(heap->isolate(), pc_, sizeof(Address));
309 } else if (RelocInfo::IsCodeTarget(mode)) { 309 } else if (RelocInfo::IsCodeTarget(mode)) {
310 StaticVisitor::VisitCodeTarget(heap, this); 310 StaticVisitor::VisitCodeTarget(heap, this);
311 } else if (mode == RelocInfo::CELL) { 311 } else if (mode == RelocInfo::CELL) {
312 StaticVisitor::VisitCell(heap, this); 312 StaticVisitor::VisitCell(heap, this);
313 } else if (mode == RelocInfo::EXTERNAL_REFERENCE) { 313 } else if (mode == RelocInfo::EXTERNAL_REFERENCE) {
314 StaticVisitor::VisitExternalReference(this); 314 StaticVisitor::VisitExternalReference(this);
315 } else if (mode == RelocInfo::INTERNAL_REFERENCE) { 315 } else if (mode == RelocInfo::INTERNAL_REFERENCE) {
316 StaticVisitor::VisitInternalReference(this); 316 StaticVisitor::VisitInternalReference(this);
317 } else if (RelocInfo::IsCodeAgeSequence(mode)) { 317 } else if (RelocInfo::IsCodeAgeSequence(mode)) {
318 StaticVisitor::VisitCodeAgeSequence(heap, this); 318 StaticVisitor::VisitCodeAgeSequence(heap, this);
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 556
557 Operand::Operand(Immediate imm) { 557 Operand::Operand(Immediate imm) {
558 // [disp/r] 558 // [disp/r]
559 set_modrm(0, ebp); 559 set_modrm(0, ebp);
560 set_dispr(imm.x_, imm.rmode_); 560 set_dispr(imm.x_, imm.rmode_);
561 } 561 }
562 } // namespace internal 562 } // namespace internal
563 } // namespace v8 563 } // namespace v8
564 564
565 #endif // V8_IA32_ASSEMBLER_IA32_INL_H_ 565 #endif // V8_IA32_ASSEMBLER_IA32_INL_H_
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698