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

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

Issue 169353002: Remove arch specific api callback generate functions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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/stub-cache-ia32.cc ('k') | src/stub-cache.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 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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 Handle<JSObject> holder, 399 Handle<JSObject> holder,
400 Register holder_reg, 400 Register holder_reg,
401 Register scratch1, 401 Register scratch1,
402 Register scratch2, 402 Register scratch2,
403 Handle<Name> name, 403 Handle<Name> name,
404 Label* miss, 404 Label* miss,
405 PrototypeCheckType check = CHECK_ALL_MAPS); 405 PrototypeCheckType check = CHECK_ALL_MAPS);
406 406
407 void GenerateBooleanCheck(Register object, Label* miss); 407 void GenerateBooleanCheck(Register object, Label* miss);
408 408
409 static void GenerateFastApiCall(MacroAssembler* masm,
410 const CallOptimization& optimization,
411 Handle<Map> receiver_map,
412 Register receiver,
413 Register scratch,
414 bool is_store,
415 int argc,
416 Register* values);
417
409 protected: 418 protected:
410 Handle<Code> GetCodeWithFlags(Code::Flags flags, const char* name); 419 Handle<Code> GetCodeWithFlags(Code::Flags flags, const char* name);
411 Handle<Code> GetCodeWithFlags(Code::Flags flags, Handle<Name> name); 420 Handle<Code> GetCodeWithFlags(Code::Flags flags, Handle<Name> name);
412 421
413 ExtraICState extra_state() { return extra_ic_state_; } 422 ExtraICState extra_state() { return extra_ic_state_; }
414 423
415 MacroAssembler* masm() { return &masm_; } 424 MacroAssembler* masm() { return &masm_; }
416 void set_failure(Failure* failure) { failure_ = failure; } 425 void set_failure(Failure* failure) { failure_ = failure; }
417 426
418 static void LookupPostInterceptor(Handle<JSObject> holder, 427 static void LookupPostInterceptor(Handle<JSObject> holder,
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 Handle<JSFunction> constant_function_; 855 Handle<JSFunction> constant_function_;
847 bool is_simple_api_call_; 856 bool is_simple_api_call_;
848 Handle<FunctionTemplateInfo> expected_receiver_type_; 857 Handle<FunctionTemplateInfo> expected_receiver_type_;
849 Handle<CallHandlerInfo> api_call_info_; 858 Handle<CallHandlerInfo> api_call_info_;
850 }; 859 };
851 860
852 861
853 } } // namespace v8::internal 862 } } // namespace v8::internal
854 863
855 #endif // V8_STUB_CACHE_H_ 864 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698