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

Side by Side Diff: src/arm/full-codegen-arm.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 | « no previous file | src/arm/lithium-codegen-arm.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 1589 matching lines...) Expand 10 before | Expand all | Expand 10 after
1600 1600
1601 // If result_saved is true the result is on top of the stack. If 1601 // If result_saved is true the result is on top of the stack. If
1602 // result_saved is false the result is in r0. 1602 // result_saved is false the result is in r0.
1603 bool result_saved = false; 1603 bool result_saved = false;
1604 1604
1605 // Mark all computed expressions that are bound to a key that 1605 // Mark all computed expressions that are bound to a key that
1606 // is shadowed by a later occurrence of the same key. For the 1606 // is shadowed by a later occurrence of the same key. For the
1607 // marked expressions, no store code is emitted. 1607 // marked expressions, no store code is emitted.
1608 expr->CalculateEmitStore(zone()); 1608 expr->CalculateEmitStore(zone());
1609 1609
1610 AccessorTable accessor_table(isolate()->zone()); 1610 AccessorTable accessor_table(zone());
1611 for (int i = 0; i < expr->properties()->length(); i++) { 1611 for (int i = 0; i < expr->properties()->length(); i++) {
1612 ObjectLiteral::Property* property = expr->properties()->at(i); 1612 ObjectLiteral::Property* property = expr->properties()->at(i);
1613 if (property->IsCompileTimeValue()) continue; 1613 if (property->IsCompileTimeValue()) continue;
1614 1614
1615 Literal* key = property->key(); 1615 Literal* key = property->key();
1616 Expression* value = property->value(); 1616 Expression* value = property->value();
1617 if (!result_saved) { 1617 if (!result_saved) {
1618 __ push(r0); // Save result on stack 1618 __ push(r0); // Save result on stack
1619 result_saved = true; 1619 result_saved = true;
1620 } 1620 }
(...skipping 2956 matching lines...) Expand 10 before | Expand all | Expand 10 after
4577 *context_length = 0; 4577 *context_length = 0;
4578 return previous_; 4578 return previous_;
4579 } 4579 }
4580 4580
4581 4581
4582 #undef __ 4582 #undef __
4583 4583
4584 } } // namespace v8::internal 4584 } } // namespace v8::internal
4585 4585
4586 #endif // V8_TARGET_ARCH_ARM 4586 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698