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

Side by Side Diff: src/x64/full-codegen-x64.cc

Issue 1062853003: Fix formatting in full-codegen-x64.cc (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | 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/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 } else if (FLAG_debug_code) { 226 } else if (FLAG_debug_code) {
227 Label done; 227 Label done;
228 __ JumpIfInNewSpace(rsi, rax, &done, Label::kNear); 228 __ JumpIfInNewSpace(rsi, rax, &done, Label::kNear);
229 __ Abort(kExpectedNewSpaceObject); 229 __ Abort(kExpectedNewSpaceObject);
230 __ bind(&done); 230 __ bind(&done);
231 } 231 }
232 } 232 }
233 } 233 }
234 } 234 }
235 235
236 ArgumentsAccessStub::HasNewTarget has_new_target = 236 ArgumentsAccessStub::HasNewTarget has_new_target =
237 IsSubclassConstructor(info->function()->kind()) 237 IsSubclassConstructor(info->function()->kind())
238 ? ArgumentsAccessStub::HAS_NEW_TARGET 238 ? ArgumentsAccessStub::HAS_NEW_TARGET
239 : ArgumentsAccessStub::NO_NEW_TARGET; 239 : ArgumentsAccessStub::NO_NEW_TARGET;
240 240
241 // Possibly allocate RestParameters 241 // Possibly allocate RestParameters
242 int rest_index; 242 int rest_index;
243 Variable* rest_param = scope()->rest_parameter(&rest_index); 243 Variable* rest_param = scope()->rest_parameter(&rest_index);
244 if (rest_param) { 244 if (rest_param) {
245 Comment cmnt(masm_, "[ Allocate rest parameter array"); 245 Comment cmnt(masm_, "[ Allocate rest parameter array");
246 246
247 int num_parameters = info->scope()->num_parameters(); 247 int num_parameters = info->scope()->num_parameters();
248 int offset = num_parameters * kPointerSize; 248 int offset = num_parameters * kPointerSize;
249 if (has_new_target == ArgumentsAccessStub::HAS_NEW_TARGET) { 249 if (has_new_target == ArgumentsAccessStub::HAS_NEW_TARGET) {
(...skipping 5112 matching lines...) Expand 10 before | Expand all | Expand 10 after
5362 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), 5362 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(),
5363 Assembler::target_address_at(call_target_address, 5363 Assembler::target_address_at(call_target_address,
5364 unoptimized_code)); 5364 unoptimized_code));
5365 return OSR_AFTER_STACK_CHECK; 5365 return OSR_AFTER_STACK_CHECK;
5366 } 5366 }
5367 5367
5368 5368
5369 } } // namespace v8::internal 5369 } } // namespace v8::internal
5370 5370
5371 #endif // V8_TARGET_ARCH_X64 5371 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698