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

Side by Side Diff: src/gdb-jit.cc

Issue 13724006: Fix presubmit style warning for gdb-jit.cc (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | no next file » | 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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 622
623 623
624 ZoneList<MachOSection*> sections_; 624 ZoneList<MachOSection*> sections_;
625 }; 625 };
626 #endif // defined(__MACH_O) 626 #endif // defined(__MACH_O)
627 627
628 628
629 #if defined(__ELF) 629 #if defined(__ELF)
630 class ELF BASE_EMBEDDED { 630 class ELF BASE_EMBEDDED {
631 public: 631 public:
632 ELF(Zone* zone) : sections_(6, zone) { 632 explicit ELF(Zone* zone) : sections_(6, zone) {
633 sections_.Add(new(zone) ELFSection("", ELFSection::TYPE_NULL, 0), zone); 633 sections_.Add(new(zone) ELFSection("", ELFSection::TYPE_NULL, 0), zone);
634 sections_.Add(new(zone) ELFStringTable(".shstrtab"), zone); 634 sections_.Add(new(zone) ELFStringTable(".shstrtab"), zone);
635 } 635 }
636 636
637 void Write(Writer* w) { 637 void Write(Writer* w) {
638 WriteHeader(w); 638 WriteHeader(w);
639 WriteSectionTable(w); 639 WriteSectionTable(w);
640 WriteSections(w); 640 WriteSections(w);
641 } 641 }
642 642
(...skipping 1526 matching lines...) Expand 10 before | Expand all | Expand 10 after
2169 ScopedLock lock(mutex.Pointer()); 2169 ScopedLock lock(mutex.Pointer());
2170 ASSERT(!IsLineInfoTagged(line_info)); 2170 ASSERT(!IsLineInfoTagged(line_info));
2171 HashMap::Entry* e = GetEntries()->Lookup(code, HashForCodeObject(code), true); 2171 HashMap::Entry* e = GetEntries()->Lookup(code, HashForCodeObject(code), true);
2172 ASSERT(e->value == NULL); 2172 ASSERT(e->value == NULL);
2173 e->value = TagLineInfo(line_info); 2173 e->value = TagLineInfo(line_info);
2174 } 2174 }
2175 2175
2176 2176
2177 } } // namespace v8::internal 2177 } } // namespace v8::internal
2178 #endif 2178 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698