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

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

Issue 10534139: One Zone per CompilationInfo. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rename CompilationInfoZone to ZoneWithCompilationInfo Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/lithium-codegen-ia32.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1537 matching lines...) Expand 10 before | Expand all | Expand 10 after
1548 1548
1549 // If result_saved is true the result is on top of the stack. If 1549 // If result_saved is true the result is on top of the stack. If
1550 // result_saved is false the result is in eax. 1550 // result_saved is false the result is in eax.
1551 bool result_saved = false; 1551 bool result_saved = false;
1552 1552
1553 // Mark all computed expressions that are bound to a key that 1553 // Mark all computed expressions that are bound to a key that
1554 // is shadowed by a later occurrence of the same key. For the 1554 // is shadowed by a later occurrence of the same key. For the
1555 // marked expressions, no store code is emitted. 1555 // marked expressions, no store code is emitted.
1556 expr->CalculateEmitStore(zone()); 1556 expr->CalculateEmitStore(zone());
1557 1557
1558 AccessorTable accessor_table(isolate()->zone()); 1558 AccessorTable accessor_table(zone());
1559 for (int i = 0; i < expr->properties()->length(); i++) { 1559 for (int i = 0; i < expr->properties()->length(); i++) {
1560 ObjectLiteral::Property* property = expr->properties()->at(i); 1560 ObjectLiteral::Property* property = expr->properties()->at(i);
1561 if (property->IsCompileTimeValue()) continue; 1561 if (property->IsCompileTimeValue()) continue;
1562 1562
1563 Literal* key = property->key(); 1563 Literal* key = property->key();
1564 Expression* value = property->value(); 1564 Expression* value = property->value();
1565 if (!result_saved) { 1565 if (!result_saved) {
1566 __ push(eax); // Save result on the stack 1566 __ push(eax); // Save result on the stack
1567 result_saved = true; 1567 result_saved = true;
1568 } 1568 }
(...skipping 2980 matching lines...) Expand 10 before | Expand all | Expand 10 after
4549 *context_length = 0; 4549 *context_length = 0;
4550 return previous_; 4550 return previous_;
4551 } 4551 }
4552 4552
4553 4553
4554 #undef __ 4554 #undef __
4555 4555
4556 } } // namespace v8::internal 4556 } } // namespace v8::internal
4557 4557
4558 #endif // V8_TARGET_ARCH_IA32 4558 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/lithium-codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698