Commit 1a3d633e authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Fix thinko in IC code.

Review URL: http://codereview.chromium.org/149175

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2354 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 07bbacc8
......@@ -72,9 +72,9 @@ static void GenerateDictionaryLoad(MacroAssembler* masm,
// Jump to miss if the interceptor bit is set.
__ b(ne, miss);
// Bail out if we have a JS global object.
// Bail out if we have a JS global proxy object.
__ ldrb(r3, FieldMemOperand(t0, Map::kInstanceTypeOffset));
__ cmp(r3, Operand(JS_GLOBAL_OBJECT_TYPE));
__ cmp(r3, Operand(JS_GLOBAL_PROXY_TYPE));
__ b(eq, miss);
// Check that the properties array is a dictionary.
......
......@@ -70,7 +70,7 @@ static void GenerateDictionaryLoad(MacroAssembler* masm, Label* miss_label,
// Jump to miss if the interceptor bit is set.
__ j(not_zero, miss_label, not_taken);
// Bail out if we have a JS global object.
// Bail out if we have a JS global proxy object.
__ movzx_b(r0, FieldOperand(r0, Map::kInstanceTypeOffset));
__ cmp(r0, JS_GLOBAL_PROXY_TYPE);
__ j(equal, miss_label, not_taken);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment