Try to fix Windows compilation error.
R=whesse@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org//7321008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8567 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
8ccb47f57e
commit
ae35e56221
@ -161,7 +161,7 @@ DeoptimizedFrameInfo* Deoptimizer::DebuggerInspectableFrame(
|
||||
// Get the "simulated" top and size for the requested frame.
|
||||
Address top =
|
||||
reinterpret_cast<Address>(deoptimizer->output_[frame_index]->GetTop());
|
||||
unsigned size = deoptimizer->output_[frame_index]->GetFrameSize();
|
||||
uint32_t size = deoptimizer->output_[frame_index]->GetFrameSize();
|
||||
|
||||
// Done with the GC-unsafe frame descriptions. This re-enables allocation.
|
||||
deoptimizer->DeleteFrameDescriptions();
|
||||
@ -546,7 +546,7 @@ void Deoptimizer::MaterializeHeapNumbers() {
|
||||
|
||||
#ifdef ENABLE_DEBUGGER_SUPPORT
|
||||
void Deoptimizer::MaterializeHeapNumbersForDebuggerInspectableFrame(
|
||||
Address top, intptr_t size, DeoptimizedFrameInfo* info) {
|
||||
Address top, uint32_t size, DeoptimizedFrameInfo* info) {
|
||||
ASSERT_EQ(DEBUGGER, bailout_type_);
|
||||
for (int i = 0; i < deferred_heap_numbers_.length(); i++) {
|
||||
HeapNumberMaterializationDescriptor d = deferred_heap_numbers_[i];
|
||||
@ -574,7 +574,9 @@ void Deoptimizer::MaterializeHeapNumbersForDebuggerInspectableFrame(
|
||||
} else {
|
||||
// Calculate parameter index subtracting one for the receiver.
|
||||
int parameter_index =
|
||||
index + size / kPointerSize - info->expression_count_ - 1;
|
||||
index +
|
||||
static_cast<int>(size) / kPointerSize -
|
||||
info->expression_count_ - 1;
|
||||
info->SetParameter(parameter_index, *num);
|
||||
}
|
||||
}
|
||||
|
@ -194,7 +194,7 @@ class Deoptimizer : public Malloced {
|
||||
void MaterializeHeapNumbers();
|
||||
#ifdef ENABLE_DEBUGGER_SUPPORT
|
||||
void MaterializeHeapNumbersForDebuggerInspectableFrame(
|
||||
Address top, intptr_t size, DeoptimizedFrameInfo* info);
|
||||
Address top, uint32_t size, DeoptimizedFrameInfo* info);
|
||||
#endif
|
||||
|
||||
static void ComputeOutputFrames(Deoptimizer* deoptimizer);
|
||||
|
Loading…
Reference in New Issue
Block a user