Commit 128c1ab8 authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

Silly pointer thinko.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@653 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 3a296601
......@@ -328,7 +328,7 @@ static inline Object* DoCompile(String* pattern,
error_message,
&JSREMalloc,
&JSREFree);
if (code == NULL && (malloc_failure->IsRetryAfterGC() ||
if (*code == NULL && (malloc_failure->IsRetryAfterGC() ||
malloc_failure->IsOutOfMemoryFailure())) {
return malloc_failure;
} else {
......
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