| Index: src/full-codegen.h
|
| ===================================================================
|
| --- src/full-codegen.h (revision 7663)
|
| +++ src/full-codegen.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2011 the V8 project authors. All rights reserved.
|
| +// Copyright 2010 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -445,13 +445,12 @@
|
|
|
| // Apply the compound assignment operator. Expects the left operand on top
|
| // of the stack and the right one in the accumulator.
|
| - void EmitBinaryOp(BinaryOperation* expr,
|
| - Token::Value op,
|
| + void EmitBinaryOp(Token::Value op,
|
| OverwriteMode mode);
|
|
|
| // Helper functions for generating inlined smi code for certain
|
| // binary operations.
|
| - void EmitInlineSmiBinaryOp(BinaryOperation* expr,
|
| + void EmitInlineSmiBinaryOp(Expression* expr,
|
| Token::Value op,
|
| OverwriteMode mode,
|
| Expression* left,
|
| @@ -513,16 +512,12 @@
|
| static Register context_register();
|
|
|
| // Helper for calling an IC stub.
|
| - void EmitCallIC(Handle<Code> ic,
|
| - RelocInfo::Mode mode,
|
| - unsigned ast_id);
|
| + void EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode);
|
|
|
| // Calling an IC stub with a patch site. Passing NULL for patch_site
|
| // or non NULL patch_site which is not activated indicates no inlined smi code
|
| // and emits a nop after the IC call.
|
| - void EmitCallIC(Handle<Code> ic,
|
| - JumpPatchSite* patch_site,
|
| - unsigned ast_id);
|
| + void EmitCallIC(Handle<Code> ic, JumpPatchSite* patch_site);
|
|
|
| // Set fields in the stack frame. Offsets are the frame pointer relative
|
| // offsets defined in, e.g., StandardFrameConstants.
|
|
|