X87: Use Chrome compatible naming for compiler specifics.

port r23579.

This CL includes the part of changes for X87 port which is missed in r23579.
(https://codereview.chromium.org/526223002).

original commit message:

  Use Chrome compatible naming for compiler specifics.
  Less useless creativity is best creativity!

BUG=
R=weiliang.lin@intel.com

Review URL: https://codereview.chromium.org/531723002

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23587 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 55e78d3b
...@@ -1902,12 +1902,12 @@ void FullCodeGenerator::VisitYield(Yield* expr) { ...@@ -1902,12 +1902,12 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
VisitForStackValue(expr->expression()); VisitForStackValue(expr->expression());
switch (expr->yield_kind()) { switch (expr->yield_kind()) {
case Yield::SUSPEND: case Yield::kSuspend:
// Pop value from top-of-stack slot; box result into result register. // Pop value from top-of-stack slot; box result into result register.
EmitCreateIteratorResult(false); EmitCreateIteratorResult(false);
__ push(result_register()); __ push(result_register());
// Fall through. // Fall through.
case Yield::INITIAL: { case Yield::kInitial: {
Label suspend, continuation, post_runtime, resume; Label suspend, continuation, post_runtime, resume;
__ jmp(&suspend); __ jmp(&suspend);
...@@ -1939,7 +1939,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { ...@@ -1939,7 +1939,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
break; break;
} }
case Yield::FINAL: { case Yield::kFinal: {
VisitForAccumulatorValue(expr->generator_object()); VisitForAccumulatorValue(expr->generator_object());
__ mov(FieldOperand(result_register(), __ mov(FieldOperand(result_register(),
JSGeneratorObject::kContinuationOffset), JSGeneratorObject::kContinuationOffset),
...@@ -1951,7 +1951,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { ...@@ -1951,7 +1951,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) {
break; break;
} }
case Yield::DELEGATING: { case Yield::kDelegating: {
VisitForStackValue(expr->generator_object()); VisitForStackValue(expr->generator_object());
// Initial stack layout is as follows: // Initial stack layout is as follows:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment