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

Unified Diff: src/compiler/js-generic-lowering.cc

Issue 1496503002: [runtime] [proxy] removing JSFunctionProxy and related code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: doh 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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/js-generic-lowering.cc
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc
index e03a68c5db21f7785164e828e26ca811d20e3a00..381723122ed6ef83accccf0bb6fcccdcb3aaa6e7 100644
--- a/src/compiler/js-generic-lowering.cc
+++ b/src/compiler/js-generic-lowering.cc
@@ -734,10 +734,9 @@ void JSGenericLowering::LowerJSForInPrepare(Node* node) {
jsgraph()->IntPtrConstant(Map::kInstanceTypeOffset - kHeapObjectTag),
effect, if_false0);
- STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE);
- Node* check1 = graph()->NewNode(
- machine()->Uint32LessThanOrEqual(), object_instance_type,
- jsgraph()->Uint32Constant(LAST_JS_PROXY_TYPE));
+ Node* check1 =
+ graph()->NewNode(machine()->Word32Equal(), object_instance_type,
+ jsgraph()->Uint32Constant(JS_PROXY_TYPE));
Node* branch1 = graph()->NewNode(common()->Branch(BranchHint::kFalse),
check1, if_false0);

Powered by Google App Engine
This is Rietveld 408576698