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

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

Issue 6577036: [Isolates] Merge from bleeding_edge to isolates, revisions 6100-6300. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 9 years, 10 months 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 | « src/ia32/regexp-macro-assembler-ia32.cc ('k') | src/isolate.cc » ('j') | 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 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 // -- esp[(argc + 1) * 4] : receiver 1682 // -- esp[(argc + 1) * 4] : receiver
1683 // ----------------------------------- 1683 // -----------------------------------
1684 1684
1685 // If object is not a string, bail out to regular call. 1685 // If object is not a string, bail out to regular call.
1686 if (!object->IsString() || cell != NULL) return HEAP->undefined_value(); 1686 if (!object->IsString() || cell != NULL) return HEAP->undefined_value();
1687 1687
1688 const int argc = arguments().immediate(); 1688 const int argc = arguments().immediate();
1689 1689
1690 Label miss; 1690 Label miss;
1691 Label index_out_of_range; 1691 Label index_out_of_range;
1692
1692 GenerateNameCheck(name, &miss); 1693 GenerateNameCheck(name, &miss);
1693 1694
1694 // Check that the maps starting from the prototype haven't changed. 1695 // Check that the maps starting from the prototype haven't changed.
1695 GenerateDirectLoadGlobalFunctionPrototype(masm(), 1696 GenerateDirectLoadGlobalFunctionPrototype(masm(),
1696 Context::STRING_FUNCTION_INDEX, 1697 Context::STRING_FUNCTION_INDEX,
1697 eax, 1698 eax,
1698 &miss); 1699 &miss);
1699 ASSERT(object != holder); 1700 ASSERT(object != holder);
1700 CheckPrototypes(JSObject::cast(object->GetPrototype()), eax, holder, 1701 CheckPrototypes(JSObject::cast(object->GetPrototype()), eax, holder,
1701 ebx, edx, edi, name, &miss); 1702 ebx, edx, edi, name, &miss);
(...skipping 1591 matching lines...) Expand 10 before | Expand all | Expand 10 after
3293 // Return the generated code. 3294 // Return the generated code.
3294 return GetCode(); 3295 return GetCode();
3295 } 3296 }
3296 3297
3297 3298
3298 #undef __ 3299 #undef __
3299 3300
3300 } } // namespace v8::internal 3301 } } // namespace v8::internal
3301 3302
3302 #endif // V8_TARGET_ARCH_IA32 3303 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/regexp-macro-assembler-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698