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

Side by Side Diff: src/mips/lithium-codegen-mips.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/lithium-allocator.cc ('k') | src/mips64/lithium-codegen-mips64.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.7 1 // Copyright 2012 the V8 project authors. All rights reserved.7
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 122
123 bool LCodeGen::GeneratePrologue() { 123 bool LCodeGen::GeneratePrologue() {
124 DCHECK(is_generating()); 124 DCHECK(is_generating());
125 125
126 if (info()->IsOptimizing()) { 126 if (info()->IsOptimizing()) {
127 ProfileEntryHookStub::MaybeCallEntryHook(masm_); 127 ProfileEntryHookStub::MaybeCallEntryHook(masm_);
128 128
129 #ifdef DEBUG 129 #ifdef DEBUG
130 if (strlen(FLAG_stop_at) > 0 && 130 if (strlen(FLAG_stop_at) > 0 &&
131 info_->function()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) { 131 info_->literal()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) {
132 __ stop("stop_at"); 132 __ stop("stop_at");
133 } 133 }
134 #endif 134 #endif
135 135
136 // a1: Callee's JS function. 136 // a1: Callee's JS function.
137 // cp: Callee's context. 137 // cp: Callee's context.
138 // fp: Caller's frame pointer. 138 // fp: Caller's frame pointer.
139 // lr: Caller's pc. 139 // lr: Caller's pc.
140 140
141 // Sloppy mode functions and builtins need to replace the receiver with the 141 // Sloppy mode functions and builtins need to replace the receiver with the
(...skipping 5923 matching lines...) Expand 10 before | Expand all | Expand 10 after
6065 __ Push(at, ToRegister(instr->function())); 6065 __ Push(at, ToRegister(instr->function()));
6066 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6066 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6067 RecordSafepoint(Safepoint::kNoLazyDeopt); 6067 RecordSafepoint(Safepoint::kNoLazyDeopt);
6068 } 6068 }
6069 6069
6070 6070
6071 #undef __ 6071 #undef __
6072 6072
6073 } // namespace internal 6073 } // namespace internal
6074 } // namespace v8 6074 } // namespace v8
OLDNEW
« no previous file with comments | « src/lithium-allocator.cc ('k') | src/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698