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

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

Issue 298143004: Minor cleanups & trivial refactoring related to Ast. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/ast.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 "v8.h" 5 #include "v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "code-stubs.h" 9 #include "code-stubs.h"
10 #include "codegen.h" 10 #include "codegen.h"
(...skipping 2226 matching lines...) Expand 10 before | Expand all | Expand 10 after
2237 } 2237 }
2238 // Non-initializing assignments to consts are ignored. 2238 // Non-initializing assignments to consts are ignored.
2239 } 2239 }
2240 2240
2241 2241
2242 void FullCodeGenerator::EmitNamedPropertyAssignment(Assignment* expr) { 2242 void FullCodeGenerator::EmitNamedPropertyAssignment(Assignment* expr) {
2243 ASM_LOCATION("FullCodeGenerator::EmitNamedPropertyAssignment"); 2243 ASM_LOCATION("FullCodeGenerator::EmitNamedPropertyAssignment");
2244 // Assignment to a property, using a named store IC. 2244 // Assignment to a property, using a named store IC.
2245 Property* prop = expr->target()->AsProperty(); 2245 Property* prop = expr->target()->AsProperty();
2246 ASSERT(prop != NULL); 2246 ASSERT(prop != NULL);
2247 ASSERT(prop->key()->AsLiteral() != NULL); 2247 ASSERT(prop->key()->IsLiteral());
2248 2248
2249 // Record source code position before IC call. 2249 // Record source code position before IC call.
2250 SetSourcePosition(expr->position()); 2250 SetSourcePosition(expr->position());
2251 __ Mov(x2, Operand(prop->key()->AsLiteral()->value())); 2251 __ Mov(x2, Operand(prop->key()->AsLiteral()->value()));
2252 __ Pop(x1); 2252 __ Pop(x1);
2253 2253
2254 CallStoreIC(expr->AssignmentFeedbackId()); 2254 CallStoreIC(expr->AssignmentFeedbackId());
2255 2255
2256 PrepareForBailoutForId(expr->AssignmentId(), TOS_REG); 2256 PrepareForBailoutForId(expr->AssignmentId(), TOS_REG);
2257 context()->Plug(x0); 2257 context()->Plug(x0);
(...skipping 2638 matching lines...) Expand 10 before | Expand all | Expand 10 after
4896 return previous_; 4896 return previous_;
4897 } 4897 }
4898 4898
4899 4899
4900 #undef __ 4900 #undef __
4901 4901
4902 4902
4903 } } // namespace v8::internal 4903 } } // namespace v8::internal
4904 4904
4905 #endif // V8_TARGET_ARCH_ARM64 4905 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/ast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698