OLD | NEW |
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 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1214 Token::Value op_; | 1214 Token::Value op_; |
1215 CompareIC::State left_; | 1215 CompareIC::State left_; |
1216 CompareIC::State right_; | 1216 CompareIC::State right_; |
1217 CompareIC::State state_; | 1217 CompareIC::State state_; |
1218 Handle<Map> known_map_; | 1218 Handle<Map> known_map_; |
1219 }; | 1219 }; |
1220 | 1220 |
1221 | 1221 |
1222 class CompareNilICStub : public HydrogenCodeStub { | 1222 class CompareNilICStub : public HydrogenCodeStub { |
1223 public: | 1223 public: |
1224 Handle<Type> GetType(Isolate* isolate, Handle<Map> map = Handle<Map>()); | 1224 Type* GetType(Zone* zone, Handle<Map> map = Handle<Map>()); |
1225 Handle<Type> GetInputType(Isolate* isolate, Handle<Map> map); | 1225 Type* GetInputType(Zone* zone, Handle<Map> map); |
1226 | 1226 |
1227 explicit CompareNilICStub(NilValue nil) : nil_value_(nil) { } | 1227 explicit CompareNilICStub(NilValue nil) : nil_value_(nil) { } |
1228 | 1228 |
1229 CompareNilICStub(ExtraICState ic_state, | 1229 CompareNilICStub(ExtraICState ic_state, |
1230 InitializationState init_state = INITIALIZED) | 1230 InitializationState init_state = INITIALIZED) |
1231 : HydrogenCodeStub(init_state), | 1231 : HydrogenCodeStub(init_state), |
1232 nil_value_(NilValueField::decode(ic_state)), | 1232 nil_value_(NilValueField::decode(ic_state)), |
1233 state_(State(TypesField::decode(ic_state))) { | 1233 state_(State(TypesField::decode(ic_state))) { |
1234 } | 1234 } |
1235 | 1235 |
(...skipping 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2360 int MinorKey() { return 0; } | 2360 int MinorKey() { return 0; } |
2361 | 2361 |
2362 void Generate(MacroAssembler* masm); | 2362 void Generate(MacroAssembler* masm); |
2363 | 2363 |
2364 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); | 2364 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); |
2365 }; | 2365 }; |
2366 | 2366 |
2367 } } // namespace v8::internal | 2367 } } // namespace v8::internal |
2368 | 2368 |
2369 #endif // V8_CODE_STUBS_H_ | 2369 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |