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

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

Issue 2801018: This change allows generating call-stubs for objects with normal (non-fast) o... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 5 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/v8-counters.h ('k') | test/mjsunit/call-stub.js » ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 2107 matching lines...) Expand 10 before | Expand all | Expand 10 after
2118 } 2118 }
2119 2119
2120 2120
2121 Register StubCompiler::CheckPrototypes(JSObject* object, 2121 Register StubCompiler::CheckPrototypes(JSObject* object,
2122 Register object_reg, 2122 Register object_reg,
2123 JSObject* holder, 2123 JSObject* holder,
2124 Register holder_reg, 2124 Register holder_reg,
2125 Register scratch, 2125 Register scratch,
2126 String* name, 2126 String* name,
2127 int save_at_depth, 2127 int save_at_depth,
2128 Label* miss) { 2128 Label* miss,
2129 Register extra) {
2129 // Check that the maps haven't changed. 2130 // Check that the maps haven't changed.
2130 Register result = 2131 Register result =
2131 masm()->CheckMaps(object, 2132 masm()->CheckMaps(object,
2132 object_reg, 2133 object_reg,
2133 holder, 2134 holder,
2134 holder_reg, 2135 holder_reg,
2135 scratch, 2136 scratch,
2136 save_at_depth, 2137 save_at_depth,
2137 miss); 2138 miss);
2138 2139
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
2331 // Return the generated code. 2332 // Return the generated code.
2332 return GetCode(); 2333 return GetCode();
2333 } 2334 }
2334 2335
2335 2336
2336 #undef __ 2337 #undef __
2337 2338
2338 } } // namespace v8::internal 2339 } } // namespace v8::internal
2339 2340
2340 #endif // V8_TARGET_ARCH_X64 2341 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/v8-counters.h ('k') | test/mjsunit/call-stub.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698