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

Unified Diff: src/crankshaft/hydrogen-instructions.h

Issue 1480273002: Rename IS_SPEC_OBJECT to IS_JS_RECEIVER in hydrogen. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/crankshaft/hydrogen-instructions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/hydrogen-instructions.h
diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h
index d4026918f3ac256598a663497d8fc645b8322604..b69a9b8ea5ae9882f1dcc7edec30776530294604 100644
--- a/src/crankshaft/hydrogen-instructions.h
+++ b/src/crankshaft/hydrogen-instructions.h
@@ -2862,7 +2862,7 @@ class HCheckValue final : public HUnaryOperation {
class HCheckInstanceType final : public HUnaryOperation {
public:
enum Check {
- IS_SPEC_OBJECT,
+ IS_JS_RECEIVER,
IS_JS_ARRAY,
IS_JS_DATE,
IS_STRING,
@@ -2880,10 +2880,9 @@ class HCheckInstanceType final : public HUnaryOperation {
HType CalculateInferredType() override {
switch (check_) {
- case IS_SPEC_OBJECT: return HType::JSObject();
+ case IS_JS_RECEIVER: return HType::JSObject();
case IS_JS_ARRAY: return HType::JSArray();
- case IS_JS_DATE:
- return HType::JSObject();
+ case IS_JS_DATE: return HType::JSObject();
case IS_STRING: return HType::String();
case IS_INTERNALIZED_STRING: return HType::String();
}
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/crankshaft/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698