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( |