| Index: src/codegen.cc
|
| diff --git a/src/codegen.cc b/src/codegen.cc
|
| index 40ce00a5e2e5ef4e6be6021cf007393fb5225d20..42e02a0aac2b8b25c405a8e57db3b125dc1c9b5d 100644
|
| --- a/src/codegen.cc
|
| +++ b/src/codegen.cc
|
| @@ -165,21 +165,6 @@ void CodeGenerator::PrintCode(Handle<Code> code, CompilationInfo* info) {
|
| }
|
|
|
|
|
| -bool CodeGenerator::ShouldGenerateLog(Isolate* isolate, Expression* type) {
|
| - ASSERT(type != NULL);
|
| - if (!isolate->logger()->is_logging() &&
|
| - !isolate->cpu_profiler()->is_profiling()) {
|
| - return false;
|
| - }
|
| - Handle<String> name = Handle<String>::cast(type->AsLiteral()->value());
|
| - if (FLAG_log_regexp) {
|
| - if (name->IsOneByteEqualTo(STATIC_ASCII_VECTOR("regexp")))
|
| - return true;
|
| - }
|
| - return false;
|
| -}
|
| -
|
| -
|
| bool CodeGenerator::RecordPositions(MacroAssembler* masm,
|
| int pos,
|
| bool right_here) {
|
|
|