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/ic/ic.h

Issue 545843002: Fix null-dereference in r23716. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | « no previous file | src/ic/ic.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_IC_H_ 5 #ifndef V8_IC_H_
6 #define V8_IC_H_ 6 #define V8_IC_H_
7 7
8 #include "src/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 OBJECT, // JSObject 839 OBJECT, // JSObject
840 KNOWN_OBJECT, // JSObject with specific map (faster check) 840 KNOWN_OBJECT, // JSObject with specific map (faster check)
841 GENERIC 841 GENERIC
842 }; 842 };
843 843
844 static State NewInputState(State old_state, Handle<Object> value); 844 static State NewInputState(State old_state, Handle<Object> value);
845 845
846 static Type* StateToType(Zone* zone, State state, 846 static Type* StateToType(Zone* zone, State state,
847 Handle<Map> map = Handle<Map>()); 847 Handle<Map> map = Handle<Map>());
848 848
849 static void StubInfoToType(uint32_t stub_key, Type** left_type,
850 Type** right_type, Type** overall_type,
851 Handle<Map> map, Zone* zone);
852
853 CompareIC(Isolate* isolate, Token::Value op) 849 CompareIC(Isolate* isolate, Token::Value op)
854 : IC(EXTRA_CALL_FRAME, isolate), op_(op) {} 850 : IC(EXTRA_CALL_FRAME, isolate), op_(op) {}
855 851
856 // Update the inline cache for the given operands. 852 // Update the inline cache for the given operands.
857 Code* UpdateCaches(Handle<Object> x, Handle<Object> y); 853 Code* UpdateCaches(Handle<Object> x, Handle<Object> y);
858 854
859 855
860 // Factory method for getting an uninitialized compare stub. 856 // Factory method for getting an uninitialized compare stub.
861 static Handle<Code> GetUninitialized(Isolate* isolate, Token::Value op); 857 static Handle<Code> GetUninitialized(Isolate* isolate, Token::Value op);
862 858
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 927
932 // Support functions for interceptor handlers. 928 // Support functions for interceptor handlers.
933 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); 929 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly);
934 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); 930 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor);
935 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor); 931 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor);
936 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor); 932 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor);
937 } 933 }
938 } // namespace v8::internal 934 } // namespace v8::internal
939 935
940 #endif // V8_IC_H_ 936 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « no previous file | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698