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

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

Issue 387533003: Remove AddCode and RemoveCode GDB JIT entry hooks. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: One miro fix. Created 6 years, 5 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/mark-compact.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 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_STUB_CACHE_H_ 5 #ifndef V8_STUB_CACHE_H_
6 #define V8_STUB_CACHE_H_ 6 #define V8_STUB_CACHE_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 return code->ic_state() == MONOMORPHIC 479 return code->ic_state() == MONOMORPHIC
480 ? Logger::KEYED_LOAD_IC_TAG : Logger::KEYED_LOAD_POLYMORPHIC_IC_TAG; 480 ? Logger::KEYED_LOAD_IC_TAG : Logger::KEYED_LOAD_POLYMORPHIC_IC_TAG;
481 } else if (kind_ == Code::STORE_IC) { 481 } else if (kind_ == Code::STORE_IC) {
482 return code->ic_state() == MONOMORPHIC 482 return code->ic_state() == MONOMORPHIC
483 ? Logger::STORE_IC_TAG : Logger::STORE_POLYMORPHIC_IC_TAG; 483 ? Logger::STORE_IC_TAG : Logger::STORE_POLYMORPHIC_IC_TAG;
484 } else { 484 } else {
485 return code->ic_state() == MONOMORPHIC 485 return code->ic_state() == MONOMORPHIC
486 ? Logger::KEYED_STORE_IC_TAG : Logger::KEYED_STORE_POLYMORPHIC_IC_TAG; 486 ? Logger::KEYED_STORE_IC_TAG : Logger::KEYED_STORE_POLYMORPHIC_IC_TAG;
487 } 487 }
488 } 488 }
489 void JitEvent(Handle<Name> name, Handle<Code> code);
490 489
491 Register receiver() { return registers_[0]; } 490 Register receiver() { return registers_[0]; }
492 Register name() { return registers_[1]; } 491 Register name() { return registers_[1]; }
493 Register scratch1() { return registers_[2]; } 492 Register scratch1() { return registers_[2]; }
494 Register scratch2() { return registers_[3]; } 493 Register scratch2() { return registers_[3]; }
495 Register scratch3() { return registers_[4]; } 494 Register scratch3() { return registers_[4]; }
496 495
497 void InitializeRegisters(); 496 void InitializeRegisters();
498 497
499 bool IncludesNumberType(TypeHandleList* types); 498 bool IncludesNumberType(TypeHandleList* types);
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 Handle<JSFunction> constant_function_; 824 Handle<JSFunction> constant_function_;
826 bool is_simple_api_call_; 825 bool is_simple_api_call_;
827 Handle<FunctionTemplateInfo> expected_receiver_type_; 826 Handle<FunctionTemplateInfo> expected_receiver_type_;
828 Handle<CallHandlerInfo> api_call_info_; 827 Handle<CallHandlerInfo> api_call_info_;
829 }; 828 };
830 829
831 830
832 } } // namespace v8::internal 831 } } // namespace v8::internal
833 832
834 #endif // V8_STUB_CACHE_H_ 833 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698