Fix build.

Review URL: https://codereview.chromium.org/2488423004 .
This commit is contained in:
Regis Crelier
2016-11-11 12:22:32 -08:00
parent e25cdc78e4
commit 6fb8e808e3
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1960,7 +1960,7 @@ void DeoptimizeAt(const Code& optimized_code, StackFrame* frame) {
const Instructions& instrs =
Instructions::Handle(zone, optimized_code.instructions());
{
WritableInstructionsScope writable(instrs.PayloadStart(), instrs.size());
WritableInstructionsScope writable(instrs.PayloadStart(), instrs.Size());
CodePatcher::InsertDeoptimizationCallAt(frame->pc());
if (FLAG_trace_patching) {
const String& name = String::Handle(function.name());
+1 -1
View File
@@ -163,7 +163,7 @@ void CodePatcher::PatchStaticCallAt(uword return_address,
const Code& code,
const Code& new_target) {
const Instructions& instrs = Instructions::Handle(code.instructions());
WritableInstructionsScope writable(instrs.PayloadStart(), instrs.size());
WritableInstructionsScope writable(instrs.PayloadStart(), instrs.Size());
ASSERT(code.ContainsInstructionAt(return_address));
StaticCall call(return_address);
call.set_target(new_target);
+2 -2
View File
@@ -35,7 +35,7 @@ void CodeBreakpoint::PatchCode() {
const Code& code = Code::Handle(code_);
const Instructions& instrs = Instructions::Handle(code.instructions());
{
WritableInstructionsScope writable(instrs.PayloadStart(), instrs.size());
WritableInstructionsScope writable(instrs.PayloadStart(), instrs.Size());
saved_value_ = *CallInstructionFromReturnAddress(pc_);
switch (breakpoint_kind_) {
case RawPcDescriptors::kIcCall:
@@ -77,7 +77,7 @@ void CodeBreakpoint::RestoreCode() {
const Code& code = Code::Handle(code_);
const Instructions& instrs = Instructions::Handle(code.instructions());
{
WritableInstructionsScope writable(instrs.PayloadStart(), instrs.size());
WritableInstructionsScope writable(instrs.PayloadStart(), instrs.Size());
switch (breakpoint_kind_) {
case RawPcDescriptors::kIcCall:
case RawPcDescriptors::kUnoptStaticCall:
+2 -2
View File
@@ -30,7 +30,7 @@ void CodeBreakpoint::PatchCode() {
const Instructions& instrs = Instructions::Handle(code.instructions());
Code& stub_target = Code::Handle();
{
WritableInstructionsScope writable(instrs.PayloadStart(), instrs.size());
WritableInstructionsScope writable(instrs.PayloadStart(), instrs.Size());
switch (breakpoint_kind_) {
case RawPcDescriptors::kIcCall:
case RawPcDescriptors::kUnoptStaticCall: {
@@ -57,7 +57,7 @@ void CodeBreakpoint::RestoreCode() {
const Code& code = Code::Handle(code_);
const Instructions& instrs = Instructions::Handle(code.instructions());
{
WritableInstructionsScope writable(instrs.PayloadStart(), instrs.size());
WritableInstructionsScope writable(instrs.PayloadStart(), instrs.Size());
switch (breakpoint_kind_) {
case RawPcDescriptors::kIcCall:
case RawPcDescriptors::kUnoptStaticCall: