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

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

Issue 408183003: Express LoadIC extra ic state with LoadIC::State (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports. Created 6 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/objects.h ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_STUB_CACHE_H_ 5 #ifndef V8_STUB_CACHE_H_
6 #define V8_STUB_CACHE_H_ 6 #define V8_STUB_CACHE_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 Handle<JSObject> last, 555 Handle<JSObject> last,
556 Handle<Name> name); 556 Handle<Name> name);
557 557
558 Handle<Code> CompileLoadGlobal(Handle<HeapType> type, 558 Handle<Code> CompileLoadGlobal(Handle<HeapType> type,
559 Handle<GlobalObject> holder, 559 Handle<GlobalObject> holder,
560 Handle<PropertyCell> cell, 560 Handle<PropertyCell> cell,
561 Handle<Name> name, 561 Handle<Name> name,
562 bool is_dont_delete); 562 bool is_dont_delete);
563 563
564 protected: 564 protected:
565 ContextualMode contextual_mode() { 565 TypeofState typeof_state() {
566 return LoadIC::GetContextualMode(extra_state()); 566 return LoadIC::GetTypeofState(extra_state());
567 } 567 }
568 568
569 virtual Register HandlerFrontendHeader(Handle<HeapType> type, 569 virtual Register HandlerFrontendHeader(Handle<HeapType> type,
570 Register object_reg, 570 Register object_reg,
571 Handle<JSObject> holder, 571 Handle<JSObject> holder,
572 Handle<Name> name, 572 Handle<Name> name,
573 Label* miss); 573 Label* miss);
574 574
575 virtual void HandlerFrontendFooter(Handle<Name> name, Label* miss); 575 virtual void HandlerFrontendFooter(Handle<Name> name, Label* miss);
576 576
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 Handle<JSFunction> constant_function_; 822 Handle<JSFunction> constant_function_;
823 bool is_simple_api_call_; 823 bool is_simple_api_call_;
824 Handle<FunctionTemplateInfo> expected_receiver_type_; 824 Handle<FunctionTemplateInfo> expected_receiver_type_;
825 Handle<CallHandlerInfo> api_call_info_; 825 Handle<CallHandlerInfo> api_call_info_;
826 }; 826 };
827 827
828 828
829 } } // namespace v8::internal 829 } } // namespace v8::internal
830 830
831 #endif // V8_STUB_CACHE_H_ 831 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698