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/stub-cache.h

Issue 6696042: Adding 'isolates' argument to LOG to get rid of multiple TLS fetches in profiling. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/isolates
Patch Set: Addressing code review feedback + rebase Created 9 years, 9 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/string-stream.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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 Register scratch1, 551 Register scratch1,
552 Register scratch2, 552 Register scratch2,
553 Register scratch3, 553 Register scratch3,
554 String* name, 554 String* name,
555 Label* miss); 555 Label* miss);
556 556
557 static void LookupPostInterceptor(JSObject* holder, 557 static void LookupPostInterceptor(JSObject* holder,
558 String* name, 558 String* name,
559 LookupResult* lookup); 559 LookupResult* lookup);
560 560
561 Isolate* isolate() { return scope_.isolate(); }
562
561 private: 563 private:
562 HandleScope scope_; 564 HandleScope scope_;
563 MacroAssembler masm_; 565 MacroAssembler masm_;
564 Failure* failure_; 566 Failure* failure_;
565 }; 567 };
566 568
567 569
568 class LoadStubCompiler: public StubCompiler { 570 class LoadStubCompiler: public StubCompiler {
569 public: 571 public:
570 MUST_USE_RESULT MaybeObject* CompileLoadNonexistent(String* name, 572 MUST_USE_RESULT MaybeObject* CompileLoadNonexistent(String* name,
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub( 843 MUST_USE_RESULT MaybeObject* CompileKeyedStoreStub(
842 JSObject* receiver, ExternalArrayType array_type, Code::Flags flags); 844 JSObject* receiver, ExternalArrayType array_type, Code::Flags flags);
843 845
844 private: 846 private:
845 MaybeObject* GetCode(Code::Flags flags); 847 MaybeObject* GetCode(Code::Flags flags);
846 }; 848 };
847 849
848 } } // namespace v8::internal 850 } } // namespace v8::internal
849 851
850 #endif // V8_STUB_CACHE_H_ 852 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/string-stream.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698