Fixing the regression introduced in r4716.
The regression made 2 tests fail on ia32 with --always-full-compiler. Review URL: http://codereview.chromium.org/2862028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4940 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
1bb0ef0af4
commit
1e3743a4dd
@ -2175,7 +2175,7 @@ void FullCodeGenerator::EmitClassOf(ZoneList<Expression*>* args) {
|
|||||||
// LAST_JS_OBJECT_TYPE.
|
// LAST_JS_OBJECT_TYPE.
|
||||||
ASSERT(LAST_TYPE == JS_FUNCTION_TYPE);
|
ASSERT(LAST_TYPE == JS_FUNCTION_TYPE);
|
||||||
ASSERT(JS_FUNCTION_TYPE == LAST_JS_OBJECT_TYPE + 1);
|
ASSERT(JS_FUNCTION_TYPE == LAST_JS_OBJECT_TYPE + 1);
|
||||||
__ cmp(ebx, JS_FUNCTION_TYPE);
|
__ CmpInstanceType(eax, JS_FUNCTION_TYPE);
|
||||||
__ j(equal, &function);
|
__ j(equal, &function);
|
||||||
|
|
||||||
// Check if the constructor in the map is a function.
|
// Check if the constructor in the map is a function.
|
||||||
|
Loading…
Reference in New Issue
Block a user