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

Side by Side Diff: src/ic.h

Issue 3473020: [Isolates] Make lint happy. (Closed)
Patch Set: Created 10 years, 2 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
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/runtime.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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 GenerateMiss(masm, argc); 230 GenerateMiss(masm, argc);
231 } 231 }
232 static void GenerateMiss(MacroAssembler* masm, int argc); 232 static void GenerateMiss(MacroAssembler* masm, int argc);
233 static void GenerateMegamorphic(MacroAssembler* masm, int argc); 233 static void GenerateMegamorphic(MacroAssembler* masm, int argc);
234 static void GenerateNormal(MacroAssembler* masm, int argc); 234 static void GenerateNormal(MacroAssembler* masm, int argc);
235 }; 235 };
236 236
237 237
238 class KeyedCallIC: public CallICBase { 238 class KeyedCallIC: public CallICBase {
239 public: 239 public:
240 explicit KeyedCallIC(Isolate* isolate) : CallICBase(Code::KEYED_CALL_IC, isola te) { 240 explicit KeyedCallIC(Isolate* isolate)
241 : CallICBase(Code::KEYED_CALL_IC, isolate) {
241 ASSERT(target()->is_keyed_call_stub()); 242 ASSERT(target()->is_keyed_call_stub());
242 } 243 }
243 244
244 Object* LoadFunction(State state, Handle<Object> object, Handle<Object> key); 245 Object* LoadFunction(State state, Handle<Object> object, Handle<Object> key);
245 246
246 // Code generator routines. 247 // Code generator routines.
247 static void GenerateInitialize(MacroAssembler* masm, int argc) { 248 static void GenerateInitialize(MacroAssembler* masm, int argc) {
248 GenerateMiss(masm, argc); 249 GenerateMiss(masm, argc);
249 } 250 }
250 static void GenerateMiss(MacroAssembler* masm, int argc); 251 static void GenerateMiss(MacroAssembler* masm, int argc);
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 static const char* GetName(TypeInfo type_info); 537 static const char* GetName(TypeInfo type_info);
537 538
538 static State ToState(TypeInfo type_info); 539 static State ToState(TypeInfo type_info);
539 540
540 static TypeInfo GetTypeInfo(Object* left, Object* right); 541 static TypeInfo GetTypeInfo(Object* left, Object* right);
541 }; 542 };
542 543
543 } } // namespace v8::internal 544 } } // namespace v8::internal
544 545
545 #endif // V8_IC_H_ 546 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698