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

Unified Diff: src/code-stubs.cc

Issue 6371011: Ensures that GDB prints stacktraces correctly for x64 builds when debugging t... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: src/code-stubs.cc
===================================================================
--- src/code-stubs.cc (revision 6445)
+++ src/code-stubs.cc (working copy)
@@ -109,6 +109,20 @@
RecordCodeGeneration(*new_object, &masm);
FinishCode(*new_object);
+ {
Vyacheslav Egorov (Chromium) 2011/01/25 12:50:11 Do we really need this piece of code? The code s
+ ZoneScope uinfo(DELETE_ON_EXIT);
+ uintptr_t begin = reinterpret_cast<uintptr_t>
+ (new_object->instruction_start());
+ uintptr_t size = new_object->instruction_size();
+
+ // This is to prevent compiler errors about begin and end not being
+ // used when SET_UNWIND_INFO_STUB is empty.
+
+ (void) begin;
+ (void) size;
+ SET_UNWIND_INFO_STUB(begin, size);
+ }
+
// Update the dictionary and the root in Heap.
Handle<NumberDictionary> dict =
Factory::DictionaryAtNumberPut(

Powered by Google App Engine
This is Rietveld 408576698