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

Side by Side Diff: src/hydrogen-instructions.cc

Issue 19749004: With >= 64 non-string instance types, I removed an optimization (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review comments Created 7 years, 5 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/arm/macro-assembler-arm.cc ('k') | src/ia32/code-stubs-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 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 1627 matching lines...) Expand 10 before | Expand all | Expand 10 after
1638 1638
1639 1639
1640 void HCheckInstanceType::GetCheckMaskAndTag(uint8_t* mask, uint8_t* tag) { 1640 void HCheckInstanceType::GetCheckMaskAndTag(uint8_t* mask, uint8_t* tag) {
1641 ASSERT(!is_interval_check()); 1641 ASSERT(!is_interval_check());
1642 switch (check_) { 1642 switch (check_) {
1643 case IS_STRING: 1643 case IS_STRING:
1644 *mask = kIsNotStringMask; 1644 *mask = kIsNotStringMask;
1645 *tag = kStringTag; 1645 *tag = kStringTag;
1646 return; 1646 return;
1647 case IS_INTERNALIZED_STRING: 1647 case IS_INTERNALIZED_STRING:
1648 *mask = kIsInternalizedMask; 1648 *mask = kIsNotInternalizedMask;
1649 *tag = kInternalizedTag; 1649 *tag = kInternalizedTag;
1650 return; 1650 return;
1651 default: 1651 default:
1652 UNREACHABLE(); 1652 UNREACHABLE();
1653 } 1653 }
1654 } 1654 }
1655 1655
1656 1656
1657 void HCheckMaps::HandleSideEffectDominator(GVNFlag side_effect, 1657 void HCheckMaps::HandleSideEffectDominator(GVNFlag side_effect,
1658 HValue* dominator) { 1658 HValue* dominator) {
(...skipping 2335 matching lines...) Expand 10 before | Expand all | Expand 10 after
3994 case kBackingStore: 3994 case kBackingStore:
3995 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); 3995 if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString());
3996 stream->Add("[backing-store]"); 3996 stream->Add("[backing-store]");
3997 break; 3997 break;
3998 } 3998 }
3999 3999
4000 stream->Add("@%d", offset()); 4000 stream->Add("@%d", offset());
4001 } 4001 }
4002 4002
4003 } } // namespace v8::internal 4003 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698