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

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

Issue 245963007: Clean up some uses of Failures and MaybeObjects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: address comments Created 6 years, 8 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/spaces.cc ('k') | src/v8globals.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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 Isolate* isolate() { return isolate_; } 425 Isolate* isolate() { return isolate_; }
426 Heap* heap() { return isolate()->heap(); } 426 Heap* heap() { return isolate()->heap(); }
427 Factory* factory() { return isolate()->factory(); } 427 Factory* factory() { return isolate()->factory(); }
428 428
429 static void GenerateTailCall(MacroAssembler* masm, Handle<Code> code); 429 static void GenerateTailCall(MacroAssembler* masm, Handle<Code> code);
430 430
431 private: 431 private:
432 Isolate* isolate_; 432 Isolate* isolate_;
433 const ExtraICState extra_ic_state_; 433 const ExtraICState extra_ic_state_;
434 MacroAssembler masm_; 434 MacroAssembler masm_;
435 Failure* failure_;
436 }; 435 };
437 436
438 437
439 enum FrontendCheckType { PERFORM_INITIAL_CHECKS, SKIP_INITIAL_CHECKS }; 438 enum FrontendCheckType { PERFORM_INITIAL_CHECKS, SKIP_INITIAL_CHECKS };
440 439
441 440
442 class BaseLoadStoreStubCompiler: public StubCompiler { 441 class BaseLoadStoreStubCompiler: public StubCompiler {
443 public: 442 public:
444 BaseLoadStoreStubCompiler(Isolate* isolate, 443 BaseLoadStoreStubCompiler(Isolate* isolate,
445 Code::Kind kind, 444 Code::Kind kind,
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 Handle<JSFunction> constant_function_; 851 Handle<JSFunction> constant_function_;
853 bool is_simple_api_call_; 852 bool is_simple_api_call_;
854 Handle<FunctionTemplateInfo> expected_receiver_type_; 853 Handle<FunctionTemplateInfo> expected_receiver_type_;
855 Handle<CallHandlerInfo> api_call_info_; 854 Handle<CallHandlerInfo> api_call_info_;
856 }; 855 };
857 856
858 857
859 } } // namespace v8::internal 858 } } // namespace v8::internal
860 859
861 #endif // V8_STUB_CACHE_H_ 860 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/spaces.cc ('k') | src/v8globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698