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

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

Issue 1486563002: Remove {FIRST,LAST}_SPEC_OBJECT_TYPE. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/crankshaft/ia32/lithium-codegen-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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/crankshaft/hydrogen-instructions.h" 5 #include "src/crankshaft/hydrogen-instructions.h"
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/base/safe_math.h" 8 #include "src/base/safe_math.h"
9 #include "src/crankshaft/hydrogen-infer-representation.h" 9 #include "src/crankshaft/hydrogen-infer-representation.h"
10 #include "src/double.h" 10 #include "src/double.h"
(...skipping 1622 matching lines...) Expand 10 before | Expand all | Expand 10 after
1633 } 1633 }
1634 return this; 1634 return this;
1635 } 1635 }
1636 1636
1637 1637
1638 void HCheckInstanceType::GetCheckInterval(InstanceType* first, 1638 void HCheckInstanceType::GetCheckInterval(InstanceType* first,
1639 InstanceType* last) { 1639 InstanceType* last) {
1640 DCHECK(is_interval_check()); 1640 DCHECK(is_interval_check());
1641 switch (check_) { 1641 switch (check_) {
1642 case IS_SPEC_OBJECT: 1642 case IS_SPEC_OBJECT:
1643 *first = FIRST_SPEC_OBJECT_TYPE; 1643 *first = FIRST_JS_RECEIVER_TYPE;
1644 *last = LAST_SPEC_OBJECT_TYPE; 1644 *last = LAST_JS_RECEIVER_TYPE;
1645 return; 1645 return;
1646 case IS_JS_ARRAY: 1646 case IS_JS_ARRAY:
1647 *first = *last = JS_ARRAY_TYPE; 1647 *first = *last = JS_ARRAY_TYPE;
1648 return; 1648 return;
1649 case IS_JS_DATE: 1649 case IS_JS_DATE:
1650 *first = *last = JS_DATE_TYPE; 1650 *first = *last = JS_DATE_TYPE;
1651 return; 1651 return;
1652 default: 1652 default:
1653 UNREACHABLE(); 1653 UNREACHABLE();
1654 } 1654 }
(...skipping 3040 matching lines...) Expand 10 before | Expand all | Expand 10 after
4695 case HObjectAccess::kExternalMemory: 4695 case HObjectAccess::kExternalMemory:
4696 os << "[external-memory]"; 4696 os << "[external-memory]";
4697 break; 4697 break;
4698 } 4698 }
4699 4699
4700 return os << "@" << access.offset(); 4700 return os << "@" << access.offset();
4701 } 4701 }
4702 4702
4703 } // namespace internal 4703 } // namespace internal
4704 } // namespace v8 4704 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/crankshaft/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698