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

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

Issue 138843005: Merge missing r18658 from bleeding_edge and add missing files. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Add missing files. Created 6 years, 11 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/stub-cache.cc ('k') | test/cctest/print-extension.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 2121 matching lines...) Expand 10 before | Expand all | Expand 10 after
2132 // Return the generated code. 2132 // Return the generated code.
2133 return GetCode(Code::NORMAL, name); 2133 return GetCode(Code::NORMAL, name);
2134 } 2134 }
2135 2135
2136 2136
2137 Handle<Code> StoreStubCompiler::CompileStoreCallback( 2137 Handle<Code> StoreStubCompiler::CompileStoreCallback(
2138 Handle<JSObject> object, 2138 Handle<JSObject> object,
2139 Handle<JSObject> holder, 2139 Handle<JSObject> holder,
2140 Handle<Name> name, 2140 Handle<Name> name,
2141 Handle<ExecutableAccessorInfo> callback) { 2141 Handle<ExecutableAccessorInfo> callback) {
2142 HandlerFrontend(IC::CurrentTypeOf(object, isolate()), 2142 Register holder_reg = HandlerFrontend(
2143 receiver(), holder, name); 2143 IC::CurrentTypeOf(object, isolate()), receiver(), holder, name);
2144 2144
2145 __ PopReturnAddressTo(scratch1()); 2145 __ PopReturnAddressTo(scratch1());
2146 __ push(receiver()); 2146 __ push(receiver());
2147 __ push(holder_reg);
2147 __ Push(callback); // callback info 2148 __ Push(callback); // callback info
2148 __ Push(name); 2149 __ Push(name);
2149 __ push(value()); 2150 __ push(value());
2150 __ PushReturnAddressFrom(scratch1()); 2151 __ PushReturnAddressFrom(scratch1());
2151 2152
2152 // Do tail-call to the runtime system. 2153 // Do tail-call to the runtime system.
2153 ExternalReference store_callback_property = 2154 ExternalReference store_callback_property =
2154 ExternalReference(IC_Utility(IC::kStoreCallbackProperty), isolate()); 2155 ExternalReference(IC_Utility(IC::kStoreCallbackProperty), isolate());
2155 __ TailCallExternalReference(store_callback_property, 4, 1); 2156 __ TailCallExternalReference(store_callback_property, 5, 1);
2156 2157
2157 // Return the generated code. 2158 // Return the generated code.
2158 return GetCode(kind(), Code::FAST, name); 2159 return GetCode(kind(), Code::FAST, name);
2159 } 2160 }
2160 2161
2161 2162
2162 Handle<Code> StoreStubCompiler::CompileStoreCallback( 2163 Handle<Code> StoreStubCompiler::CompileStoreCallback(
2163 Handle<JSObject> object, 2164 Handle<JSObject> object,
2164 Handle<JSObject> holder, 2165 Handle<JSObject> holder,
2165 Handle<Name> name, 2166 Handle<Name> name,
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
2489 // ----------------------------------- 2490 // -----------------------------------
2490 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss); 2491 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_Miss);
2491 } 2492 }
2492 2493
2493 2494
2494 #undef __ 2495 #undef __
2495 2496
2496 } } // namespace v8::internal 2497 } } // namespace v8::internal
2497 2498
2498 #endif // V8_TARGET_ARCH_X64 2499 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/stub-cache.cc ('k') | test/cctest/print-extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698