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

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

Issue 2315733003: Class fields, part 1 (parsing and infrastructure) (Closed)
Patch Set: whitespace Created 4 years, 3 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/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/full-codegen/x64/full-codegen-x64.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #if V8_TARGET_ARCH_S390 5 #if V8_TARGET_ARCH_S390
6 6
7 #include "src/full-codegen/full-codegen.h" 7 #include "src/full-codegen/full-codegen.h"
8 #include "src/ast/compile-time-value.h" 8 #include "src/ast/compile-time-value.h"
9 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 1971 matching lines...) Expand 10 before | Expand all | Expand 10 after
1982 case ClassLiteral::Property::GETTER: 1982 case ClassLiteral::Property::GETTER:
1983 PushOperand(Smi::FromInt(DONT_ENUM)); 1983 PushOperand(Smi::FromInt(DONT_ENUM));
1984 CallRuntimeWithOperands(Runtime::kDefineGetterPropertyUnchecked); 1984 CallRuntimeWithOperands(Runtime::kDefineGetterPropertyUnchecked);
1985 break; 1985 break;
1986 1986
1987 case ClassLiteral::Property::SETTER: 1987 case ClassLiteral::Property::SETTER:
1988 PushOperand(Smi::FromInt(DONT_ENUM)); 1988 PushOperand(Smi::FromInt(DONT_ENUM));
1989 CallRuntimeWithOperands(Runtime::kDefineSetterPropertyUnchecked); 1989 CallRuntimeWithOperands(Runtime::kDefineSetterPropertyUnchecked);
1990 break; 1990 break;
1991 1991
1992 case ClassLiteral::Property::FIELD:
1992 default: 1993 default:
1993 UNREACHABLE(); 1994 UNREACHABLE();
1994 } 1995 }
1995 } 1996 }
1996 } 1997 }
1997 1998
1998 void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) { 1999 void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, Token::Value op) {
1999 PopOperand(r3); 2000 PopOperand(r3);
2000 Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), op).code(); 2001 Handle<Code> code = CodeFactory::BinaryOpIC(isolate(), op).code();
2001 JumpPatchSite patch_site(masm_); // unbound, signals no inlined smi code. 2002 JumpPatchSite patch_site(masm_); // unbound, signals no inlined smi code.
(...skipping 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after
3631 DCHECK(kOSRBranchInstruction == br_instr); 3632 DCHECK(kOSRBranchInstruction == br_instr);
3632 3633
3633 DCHECK(interrupt_address == 3634 DCHECK(interrupt_address ==
3634 isolate->builtins()->OnStackReplacement()->entry()); 3635 isolate->builtins()->OnStackReplacement()->entry());
3635 return ON_STACK_REPLACEMENT; 3636 return ON_STACK_REPLACEMENT;
3636 } 3637 }
3637 3638
3638 } // namespace internal 3639 } // namespace internal
3639 } // namespace v8 3640 } // namespace v8
3640 #endif // V8_TARGET_ARCH_S390 3641 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/full-codegen/ppc/full-codegen-ppc.cc ('k') | src/full-codegen/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698