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

Side by Side Diff: src/ia32/stub-cache-ia32.cc

Issue 5182006: Don't return false from CompileCallInterceptor which returns a... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after
2311 holder, 2311 holder,
2312 name, 2312 name,
2313 &lookup, 2313 &lookup,
2314 edx, 2314 edx,
2315 ebx, 2315 ebx,
2316 edi, 2316 edi,
2317 eax, 2317 eax,
2318 &miss, 2318 &miss,
2319 &failure); 2319 &failure);
2320 if (!success) { 2320 if (!success) {
2321 return false; 2321 return failure;
2322 } 2322 }
2323 2323
2324 // Restore receiver. 2324 // Restore receiver.
2325 __ mov(edx, Operand(esp, (argc + 1) * kPointerSize)); 2325 __ mov(edx, Operand(esp, (argc + 1) * kPointerSize));
2326 2326
2327 // Check that the function really is a function. 2327 // Check that the function really is a function.
2328 __ test(eax, Immediate(kSmiTagMask)); 2328 __ test(eax, Immediate(kSmiTagMask));
2329 __ j(zero, &miss, not_taken); 2329 __ j(zero, &miss, not_taken);
2330 __ CmpObjectType(eax, JS_FUNCTION_TYPE, ebx); 2330 __ CmpObjectType(eax, JS_FUNCTION_TYPE, ebx);
2331 __ j(not_equal, &miss, not_taken); 2331 __ j(not_equal, &miss, not_taken);
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
3155 // Return the generated code. 3155 // Return the generated code.
3156 return GetCode(); 3156 return GetCode();
3157 } 3157 }
3158 3158
3159 3159
3160 #undef __ 3160 #undef __
3161 3161
3162 } } // namespace v8::internal 3162 } } // namespace v8::internal
3163 3163
3164 #endif // V8_TARGET_ARCH_IA32 3164 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698