Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index d0c71be12fb76aade88031dcfd1d734ec3945ecb..5567df2fa62c1fda148e053137525511bc9509e9 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -842,7 +842,7 @@ void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) { |
__ bind(&next_test); |
__ Drop(1); // Switch value is no longer needed. |
if (default_clause == NULL) { |
- __ jmp(nested_statement.break_target()); |
+ __ jmp(nested_statement.break_label()); |
} else { |
__ jmp(default_clause->body_target()); |
} |
@@ -856,7 +856,7 @@ void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) { |
VisitStatements(clause->statements()); |
} |
- __ bind(nested_statement.break_target()); |
+ __ bind(nested_statement.break_label()); |
PrepareForBailoutForId(stmt->ExitId(), NO_REGISTERS); |
} |
@@ -982,7 +982,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ bind(&loop); |
__ movq(rax, Operand(rsp, 0 * kPointerSize)); // Get the current index. |
__ cmpq(rax, Operand(rsp, 1 * kPointerSize)); // Compare to the array length. |
- __ j(above_equal, loop_statement.break_target()); |
+ __ j(above_equal, loop_statement.break_label()); |
// Get the current entry of the array into register rbx. |
__ movq(rbx, Operand(rsp, 2 * kPointerSize)); |
@@ -1010,7 +1010,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
__ push(rbx); // Current entry. |
__ InvokeBuiltin(Builtins::FILTER_KEY, CALL_FUNCTION); |
__ Cmp(rax, Smi::FromInt(0)); |
- __ j(equal, loop_statement.continue_target()); |
+ __ j(equal, loop_statement.continue_label()); |
__ movq(rbx, rax); |
// Update the 'each' property or variable from the possibly filtered |
@@ -1027,14 +1027,14 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
// Generate code for going to the next element by incrementing the |
// index (smi) stored on top of the stack. |
- __ bind(loop_statement.continue_target()); |
+ __ bind(loop_statement.continue_label()); |
__ SmiAddConstant(Operand(rsp, 0 * kPointerSize), Smi::FromInt(1)); |
EmitStackCheck(stmt); |
__ jmp(&loop); |
// Remove the pointers stored on the stack. |
- __ bind(loop_statement.break_target()); |
+ __ bind(loop_statement.break_label()); |
__ addq(rsp, Immediate(5 * kPointerSize)); |
// Exit and decrement the loop depth. |