Index: src/ia32/fast-codegen-ia32.cc |
=================================================================== |
--- src/ia32/fast-codegen-ia32.cc (revision 4906) |
+++ src/ia32/fast-codegen-ia32.cc (working copy) |
@@ -447,7 +447,7 @@ |
FastCodeGenerator fast_cgen(&masm); |
fast_cgen.Generate(info); |
if (fast_cgen.HasStackOverflow()) { |
- ASSERT(!Top::has_pending_exception()); |
+ ASSERT(!Isolate::Current()->has_pending_exception()); |
return Handle<Code>::null(); |
} |
@@ -458,7 +458,7 @@ |
info->set_mode(CompilationInfo::SECONDARY); |
cgen.Generate(info); |
if (cgen.HasStackOverflow()) { |
- ASSERT(!Top::has_pending_exception()); |
+ ASSERT(!Isolate::Current()->has_pending_exception()); |
return Handle<Code>::null(); |
} |