| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 3f72defaec375c03c49b662cad3b54805fd076c0..a18c2ac7df912d8688106a224323420a16e8b6fc 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -30,7 +30,7 @@
|
| #if defined(V8_TARGET_ARCH_IA32)
|
|
|
| #include "code-stubs.h"
|
| -#include "codegen-inl.h"
|
| +#include "codegen.h"
|
| #include "compiler.h"
|
| #include "debug.h"
|
| #include "full-codegen.h"
|
| @@ -773,7 +773,7 @@ void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) {
|
| // Compile all the tests with branches to their bodies.
|
| for (int i = 0; i < clauses->length(); i++) {
|
| CaseClause* clause = clauses->at(i);
|
| - clause->body_target()->entry_label()->Unuse();
|
| + clause->body_target()->Unuse();
|
|
|
| // The default is not a test, but remember it as final fall through.
|
| if (clause->is_default()) {
|
| @@ -801,7 +801,7 @@ void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) {
|
| __ cmp(edx, Operand(eax));
|
| __ j(not_equal, &next_test);
|
| __ Drop(1); // Switch value is no longer needed.
|
| - __ jmp(clause->body_target()->entry_label());
|
| + __ jmp(clause->body_target());
|
| __ bind(&slow_case);
|
| }
|
|
|
| @@ -812,7 +812,7 @@ void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) {
|
| __ test(eax, Operand(eax));
|
| __ j(not_equal, &next_test);
|
| __ Drop(1); // Switch value is no longer needed.
|
| - __ jmp(clause->body_target()->entry_label());
|
| + __ jmp(clause->body_target());
|
| }
|
|
|
| // Discard the test value and jump to the default if present, otherwise to
|
| @@ -822,14 +822,14 @@ void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) {
|
| if (default_clause == NULL) {
|
| __ jmp(nested_statement.break_target());
|
| } else {
|
| - __ jmp(default_clause->body_target()->entry_label());
|
| + __ jmp(default_clause->body_target());
|
| }
|
|
|
| // Compile all the case bodies.
|
| for (int i = 0; i < clauses->length(); i++) {
|
| Comment cmnt(masm_, "[ Case body");
|
| CaseClause* clause = clauses->at(i);
|
| - __ bind(clause->body_target()->entry_label());
|
| + __ bind(clause->body_target());
|
| PrepareForBailoutForId(clause->EntryId(), NO_REGISTERS);
|
| VisitStatements(clause->statements());
|
| }
|
|
|