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

Side by Side Diff: src/full-codegen.h

Issue 379893002: Clean up and update const / var (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comment Created 6 years, 5 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/arm64/full-codegen-arm64.cc ('k') | src/ia32/full-codegen-ia32.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 #ifndef V8_FULL_CODEGEN_H_ 5 #ifndef V8_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 void EmitAssignment(Expression* expr); 543 void EmitAssignment(Expression* expr);
544 544
545 // Complete a variable assignment. The right-hand-side value is expected 545 // Complete a variable assignment. The right-hand-side value is expected
546 // in the accumulator. 546 // in the accumulator.
547 void EmitVariableAssignment(Variable* var, 547 void EmitVariableAssignment(Variable* var,
548 Token::Value op); 548 Token::Value op);
549 549
550 // Helper functions to EmitVariableAssignment 550 // Helper functions to EmitVariableAssignment
551 void EmitStoreToStackLocalOrContextSlot(Variable* var, 551 void EmitStoreToStackLocalOrContextSlot(Variable* var,
552 MemOperand location); 552 MemOperand location);
553 void EmitCallStoreContextSlot(Handle<String> name, StrictMode strict_mode);
554 553
555 // Complete a named property assignment. The receiver is expected on top 554 // Complete a named property assignment. The receiver is expected on top
556 // of the stack and the right-hand-side value in the accumulator. 555 // of the stack and the right-hand-side value in the accumulator.
557 void EmitNamedPropertyAssignment(Assignment* expr); 556 void EmitNamedPropertyAssignment(Assignment* expr);
558 557
559 // Complete a keyed property assignment. The receiver and key are 558 // Complete a keyed property assignment. The receiver and key are
560 // expected on top of the stack and the right-hand-side value in the 559 // expected on top of the stack and the right-hand-side value in the
561 // accumulator. 560 // accumulator.
562 void EmitKeyedPropertyAssignment(Assignment* expr); 561 void EmitKeyedPropertyAssignment(Assignment* expr);
563 562
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 942
944 Address start_; 943 Address start_;
945 Address instruction_start_; 944 Address instruction_start_;
946 uint32_t length_; 945 uint32_t length_;
947 }; 946 };
948 947
949 948
950 } } // namespace v8::internal 949 } } // namespace v8::internal
951 950
952 #endif // V8_FULL_CODEGEN_H_ 951 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698