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

Unified Diff: src/hydrogen-instructions.h

Issue 6992072: Implement set trap for proxies, and revamp class hierarchy in preparation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index d51594340303fdb1eec360f1c44157a432de9fea..d308b93c98813f28c3d240953af9320815db9360 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -1829,8 +1829,8 @@ class HCheckFunction: public HUnaryOperation {
class HCheckInstanceType: public HUnaryOperation {
public:
- static HCheckInstanceType* NewIsJSObjectOrJSFunction(HValue* value) {
- return new HCheckInstanceType(value, IS_JS_OBJECT_OR_JS_FUNCTION);
+ static HCheckInstanceType* NewIsObjectOrFunctionClass(HValue* value) {
+ return new HCheckInstanceType(value, IS_OBJECT_OR_FUNCTION_CLASS);
}
static HCheckInstanceType* NewIsJSArray(HValue* value) {
return new HCheckInstanceType(value, IS_JS_ARRAY);
@@ -1878,7 +1878,7 @@ class HCheckInstanceType: public HUnaryOperation {
private:
enum Check {
- IS_JS_OBJECT_OR_JS_FUNCTION,
+ IS_OBJECT_OR_FUNCTION_CLASS,
IS_JS_ARRAY,
IS_STRING,
IS_SYMBOL,

Powered by Google App Engine
This is Rietveld 408576698