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

Side by Side Diff: src/debug.cc

Issue 1131783003: Embedded constant pools. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix debug-mode Arm issue. Created 5 years, 6 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 | « src/compiler/ppc/code-generator-ppc.cc ('k') | src/deoptimizer.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/arguments.h" 8 #include "src/arguments.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 1691 matching lines...) Expand 10 before | Expand all | Expand 10 after
1702 frame_code->instruction_size(), 1702 frame_code->instruction_size(),
1703 frame_code->instruction_size(), 1703 frame_code->instruction_size(),
1704 reinterpret_cast<intptr_t>(new_code->instruction_start()), 1704 reinterpret_cast<intptr_t>(new_code->instruction_start()),
1705 reinterpret_cast<intptr_t>(new_code->instruction_start()) + 1705 reinterpret_cast<intptr_t>(new_code->instruction_start()) +
1706 new_code->instruction_size(), 1706 new_code->instruction_size(),
1707 new_code->instruction_size(), 1707 new_code->instruction_size(),
1708 reinterpret_cast<intptr_t>(frame->pc()), 1708 reinterpret_cast<intptr_t>(frame->pc()),
1709 reinterpret_cast<intptr_t>(new_pc)); 1709 reinterpret_cast<intptr_t>(new_pc));
1710 } 1710 }
1711 1711
1712 if (FLAG_enable_ool_constant_pool) { 1712 if (FLAG_enable_embedded_constant_pool) {
1713 // Update constant pool pointer for new code. 1713 // Update constant pool pointer for new code.
1714 frame->set_constant_pool(new_code->constant_pool()); 1714 frame->set_constant_pool(new_code->constant_pool());
1715 } 1715 }
1716 1716
1717 // Patch the return address to return into the code with 1717 // Patch the return address to return into the code with
1718 // debug break slots. 1718 // debug break slots.
1719 frame->set_pc(new_pc); 1719 frame->set_pc(new_pc);
1720 } 1720 }
1721 } 1721 }
1722 1722
(...skipping 1641 matching lines...) Expand 10 before | Expand all | Expand 10 after
3364 } 3364 }
3365 3365
3366 3366
3367 void LockingCommandMessageQueue::Clear() { 3367 void LockingCommandMessageQueue::Clear() {
3368 base::LockGuard<base::Mutex> lock_guard(&mutex_); 3368 base::LockGuard<base::Mutex> lock_guard(&mutex_);
3369 queue_.Clear(); 3369 queue_.Clear();
3370 } 3370 }
3371 3371
3372 } // namespace internal 3372 } // namespace internal
3373 } // namespace v8 3373 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ppc/code-generator-ppc.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698