| OLD | NEW |
| 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 24 matching lines...) Expand all Loading... |
| 35 #include "frames-inl.h" | 35 #include "frames-inl.h" |
| 36 #include "global-handles.h" | 36 #include "global-handles.h" |
| 37 #include "messages.h" | 37 #include "messages.h" |
| 38 #include "natives.h" | 38 #include "natives.h" |
| 39 #include "platform.h" | 39 #include "platform.h" |
| 40 #include "scopes.h" | 40 #include "scopes.h" |
| 41 | 41 |
| 42 namespace v8 { | 42 namespace v8 { |
| 43 namespace internal { | 43 namespace internal { |
| 44 | 44 |
| 45 #ifdef __APPLE__ | 45 #if V8_OS_DARWIN |
| 46 #define __MACH_O | 46 #define __MACH_O |
| 47 class MachO; | 47 class MachO; |
| 48 class MachOSection; | 48 class MachOSection; |
| 49 typedef MachO DebugObject; | 49 typedef MachO DebugObject; |
| 50 typedef MachOSection DebugSection; | 50 typedef MachOSection DebugSection; |
| 51 #else | 51 #else |
| 52 #define __ELF | 52 #define __ELF |
| 53 class ELF; | 53 class ELF; |
| 54 class ELFSection; | 54 class ELFSection; |
| 55 typedef ELF DebugObject; | 55 typedef ELF DebugObject; |
| (...skipping 2134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2190 ScopedLock lock(mutex.Pointer()); | 2190 ScopedLock lock(mutex.Pointer()); |
| 2191 ASSERT(!IsLineInfoTagged(line_info)); | 2191 ASSERT(!IsLineInfoTagged(line_info)); |
| 2192 HashMap::Entry* e = GetEntries()->Lookup(code, HashForCodeObject(code), true); | 2192 HashMap::Entry* e = GetEntries()->Lookup(code, HashForCodeObject(code), true); |
| 2193 ASSERT(e->value == NULL); | 2193 ASSERT(e->value == NULL); |
| 2194 e->value = TagLineInfo(line_info); | 2194 e->value = TagLineInfo(line_info); |
| 2195 } | 2195 } |
| 2196 | 2196 |
| 2197 | 2197 |
| 2198 } } // namespace v8::internal | 2198 } } // namespace v8::internal |
| 2199 #endif | 2199 #endif |
| OLD | NEW |