Index: src/assembler.h |
diff --git a/src/assembler.h b/src/assembler.h |
index 02ee6c6e9144a1b15645bf01fa8dd28aa9cd3e3f..0352a7015f806cee683467811e9227cbcfd2e393 100644 |
--- a/src/assembler.h |
+++ b/src/assembler.h |
@@ -341,22 +341,6 @@ class RelocIterator: public Malloced { |
}; |
-// A stack-allocated code region logs a name for the code generated |
-// while the region is in effect. This information is used by the |
-// profiler to categorize ticks within generated code. |
-class CodeRegion BASE_EMBEDDED { |
- public: |
- inline CodeRegion(Assembler* assm, const char *name) : assm_(assm) { |
- LOG(BeginCodeRegionEvent(this, assm, name)); |
- } |
- inline ~CodeRegion() { |
- LOG(EndCodeRegionEvent(this, assm_)); |
- } |
- private: |
- Assembler* assm_; |
-}; |
- |
- |
//------------------------------------------------------------------------------ |
// External function |