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

Side by Side Diff: src/arm/codegen-arm.cc

Issue 455020: Remove some of the cache validity checks for for-in enumeration. We... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years 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/handles.h » ('j') | src/objects.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 1542 matching lines...) Expand 10 before | Expand all | Expand 10 after
1553 break; 1553 break;
1554 case DONT_KNOW: 1554 case DONT_KNOW:
1555 node->continue_target()->set_direction(JumpTarget::FORWARD_ONLY); 1555 node->continue_target()->set_direction(JumpTarget::FORWARD_ONLY);
1556 body.Bind(); 1556 body.Bind();
1557 break; 1557 break;
1558 } 1558 }
1559 1559
1560 CheckStack(); // TODO(1222600): ignore if body contains calls. 1560 CheckStack(); // TODO(1222600): ignore if body contains calls.
1561 VisitAndSpill(node->body()); 1561 VisitAndSpill(node->body());
1562 1562
1563 // Compile the test. 1563 // Compile the test.
1564 switch (info) { 1564 switch (info) {
1565 case ALWAYS_TRUE: 1565 case ALWAYS_TRUE:
1566 // If control can fall off the end of the body, jump back to the 1566 // If control can fall off the end of the body, jump back to the
1567 // top. 1567 // top.
1568 if (has_valid_frame()) { 1568 if (has_valid_frame()) {
1569 node->continue_target()->Jump(); 1569 node->continue_target()->Jump();
1570 } 1570 }
1571 break; 1571 break;
1572 case ALWAYS_FALSE: 1572 case ALWAYS_FALSE:
1573 // If we have a continue in the body, we only have to bind its 1573 // If we have a continue in the body, we only have to bind its
(...skipping 4896 matching lines...) Expand 10 before | Expand all | Expand 10 after
6470 int CompareStub::MinorKey() { 6470 int CompareStub::MinorKey() {
6471 // Encode the two parameters in a unique 16 bit value. 6471 // Encode the two parameters in a unique 16 bit value.
6472 ASSERT(static_cast<unsigned>(cc_) >> 28 < (1 << 15)); 6472 ASSERT(static_cast<unsigned>(cc_) >> 28 < (1 << 15));
6473 return (static_cast<unsigned>(cc_) >> 27) | (strict_ ? 1 : 0); 6473 return (static_cast<unsigned>(cc_) >> 27) | (strict_ ? 1 : 0);
6474 } 6474 }
6475 6475
6476 6476
6477 #undef __ 6477 #undef __
6478 6478
6479 } } // namespace v8::internal 6479 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/handles.h » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698