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

Side by Side Diff: src/arm/lithium-codegen-arm.cc

Issue 1301583005: Rename ParserInfo::function() and CompilationInfo::function() to literal(). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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/api.cc ('k') | src/codegen.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 #include "src/arm/lithium-codegen-arm.h" 5 #include "src/arm/lithium-codegen-arm.h"
6 #include "src/arm/lithium-gap-resolver-arm.h" 6 #include "src/arm/lithium-gap-resolver-arm.h"
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/cpu-profiler.h" 10 #include "src/cpu-profiler.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 98
99 bool LCodeGen::GeneratePrologue() { 99 bool LCodeGen::GeneratePrologue() {
100 DCHECK(is_generating()); 100 DCHECK(is_generating());
101 101
102 if (info()->IsOptimizing()) { 102 if (info()->IsOptimizing()) {
103 ProfileEntryHookStub::MaybeCallEntryHook(masm_); 103 ProfileEntryHookStub::MaybeCallEntryHook(masm_);
104 104
105 #ifdef DEBUG 105 #ifdef DEBUG
106 if (strlen(FLAG_stop_at) > 0 && 106 if (strlen(FLAG_stop_at) > 0 &&
107 info_->function()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) { 107 info_->literal()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) {
108 __ stop("stop_at"); 108 __ stop("stop_at");
109 } 109 }
110 #endif 110 #endif
111 111
112 // r1: Callee's JS function. 112 // r1: Callee's JS function.
113 // cp: Callee's context. 113 // cp: Callee's context.
114 // pp: Callee's constant pool pointer (if enabled) 114 // pp: Callee's constant pool pointer (if enabled)
115 // fp: Caller's frame pointer. 115 // fp: Caller's frame pointer.
116 // lr: Caller's pc. 116 // lr: Caller's pc.
117 117
(...skipping 5907 matching lines...) Expand 10 before | Expand all | Expand 10 after
6025 __ push(ToRegister(instr->function())); 6025 __ push(ToRegister(instr->function()));
6026 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6026 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6027 RecordSafepoint(Safepoint::kNoLazyDeopt); 6027 RecordSafepoint(Safepoint::kNoLazyDeopt);
6028 } 6028 }
6029 6029
6030 6030
6031 #undef __ 6031 #undef __
6032 6032
6033 } // namespace internal 6033 } // namespace internal
6034 } // namespace v8 6034 } // namespace v8
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698