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

Side by Side Diff: src/ia32/full-codegen-ia32.cc

Issue 6664001: [Isolates] Merge (7083,7111] from bleeding_edge. (Closed)
Patch Set: Created 9 years, 9 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/ia32/code-stubs-ia32.cc ('k') | src/ia32/ic-ia32.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 __ jmp(nested_statement.break_target()); 820 __ jmp(nested_statement.break_target());
821 } else { 821 } else {
822 __ jmp(default_clause->body_target()->entry_label()); 822 __ jmp(default_clause->body_target()->entry_label());
823 } 823 }
824 824
825 // Compile all the case bodies. 825 // Compile all the case bodies.
826 for (int i = 0; i < clauses->length(); i++) { 826 for (int i = 0; i < clauses->length(); i++) {
827 Comment cmnt(masm_, "[ Case body"); 827 Comment cmnt(masm_, "[ Case body");
828 CaseClause* clause = clauses->at(i); 828 CaseClause* clause = clauses->at(i);
829 __ bind(clause->body_target()->entry_label()); 829 __ bind(clause->body_target()->entry_label());
830 PrepareForBailoutForId(clause->EntryId(), NO_REGISTERS);
830 VisitStatements(clause->statements()); 831 VisitStatements(clause->statements());
831 } 832 }
832 833
833 __ bind(nested_statement.break_target()); 834 __ bind(nested_statement.break_target());
834 PrepareForBailoutForId(stmt->ExitId(), NO_REGISTERS); 835 PrepareForBailoutForId(stmt->ExitId(), NO_REGISTERS);
835 } 836 }
836 837
837 838
838 void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { 839 void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) {
839 Comment cmnt(masm_, "[ ForInStatement"); 840 Comment cmnt(masm_, "[ ForInStatement");
(...skipping 3435 matching lines...) Expand 10 before | Expand all | Expand 10 after
4275 // And return. 4276 // And return.
4276 __ ret(0); 4277 __ ret(0);
4277 } 4278 }
4278 4279
4279 4280
4280 #undef __ 4281 #undef __
4281 4282
4282 } } // namespace v8::internal 4283 } } // namespace v8::internal
4283 4284
4284 #endif // V8_TARGET_ARCH_IA32 4285 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/ic-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698