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

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

Issue 3078033: Version 2.3.6 (Closed)
Patch Set: Created 10 years, 4 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
« no previous file with comments | « src/stub-cache.h ('k') | src/v8.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 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 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 secondary_[j].key = Heap::empty_string(); 815 secondary_[j].key = Heap::empty_string();
816 secondary_[j].value = Builtins::builtin(Builtins::Illegal); 816 secondary_[j].value = Builtins::builtin(Builtins::Illegal);
817 } 817 }
818 } 818 }
819 819
820 820
821 // ------------------------------------------------------------------------ 821 // ------------------------------------------------------------------------
822 // StubCompiler implementation. 822 // StubCompiler implementation.
823 823
824 824
825 // Support function for computing call IC miss stubs.
826 Handle<Code> ComputeCallMiss(int argc, Code::Kind kind) {
827 CALL_HEAP_FUNCTION(StubCache::ComputeCallMiss(argc, kind), Code);
828 }
829
830
831
832 Object* LoadCallbackProperty(Arguments args) { 825 Object* LoadCallbackProperty(Arguments args) {
833 ASSERT(args[0]->IsJSObject()); 826 ASSERT(args[0]->IsJSObject());
834 ASSERT(args[1]->IsJSObject()); 827 ASSERT(args[1]->IsJSObject());
835 AccessorInfo* callback = AccessorInfo::cast(args[2]); 828 AccessorInfo* callback = AccessorInfo::cast(args[2]);
836 Address getter_address = v8::ToCData<Address>(callback->getter()); 829 Address getter_address = v8::ToCData<Address>(callback->getter());
837 v8::AccessorGetter fun = FUNCTION_CAST<v8::AccessorGetter>(getter_address); 830 v8::AccessorGetter fun = FUNCTION_CAST<v8::AccessorGetter>(getter_address);
838 ASSERT(fun != NULL); 831 ASSERT(fun != NULL);
839 CustomArguments custom_args(callback->data(), 832 CustomArguments custom_args(callback->data(),
840 JSObject::cast(args[0]), 833 JSObject::cast(args[0]),
841 JSObject::cast(args[1])); 834 JSObject::cast(args[1]));
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 expected_receiver_type_ = 1363 expected_receiver_type_ =
1371 FunctionTemplateInfo::cast(signature->receiver()); 1364 FunctionTemplateInfo::cast(signature->receiver());
1372 } 1365 }
1373 } 1366 }
1374 1367
1375 is_simple_api_call_ = true; 1368 is_simple_api_call_ = true;
1376 } 1369 }
1377 1370
1378 1371
1379 } } // namespace v8::internal 1372 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/stub-cache.h ('k') | src/v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698