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

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

Issue 551191: Port caching of lookup followups for interceptors to ARM (Closed)
Patch Set: Next iteration Created 10 years, 10 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/ia32/stub-cache-ia32.cc ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 void GenerateLoadInterceptor(JSObject* object, 428 void GenerateLoadInterceptor(JSObject* object,
429 JSObject* holder, 429 JSObject* holder,
430 LookupResult* lookup, 430 LookupResult* lookup,
431 Register receiver, 431 Register receiver,
432 Register name_reg, 432 Register name_reg,
433 Register scratch1, 433 Register scratch1,
434 Register scratch2, 434 Register scratch2,
435 String* name, 435 String* name,
436 Label* miss); 436 Label* miss);
437 437
438 static void LookupPostInterceptor(JSObject* holder,
439 String* name,
440 LookupResult* lookup);
441
438 private: 442 private:
439 HandleScope scope_; 443 HandleScope scope_;
440 MacroAssembler masm_; 444 MacroAssembler masm_;
441 Failure* failure_; 445 Failure* failure_;
442 }; 446 };
443 447
444 448
445 class LoadStubCompiler: public StubCompiler { 449 class LoadStubCompiler: public StubCompiler {
446 public: 450 public:
447 Object* CompileLoadField(JSObject* object, 451 Object* CompileLoadField(JSObject* object,
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 Object* CompileConstructStub(SharedFunctionInfo* shared); 573 Object* CompileConstructStub(SharedFunctionInfo* shared);
570 574
571 private: 575 private:
572 Object* GetCode(); 576 Object* GetCode();
573 }; 577 };
574 578
575 579
576 } } // namespace v8::internal 580 } } // namespace v8::internal
577 581
578 #endif // V8_STUB_CACHE_H_ 582 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698