| Index: src/full-codegen.h
|
| diff --git a/src/full-codegen.h b/src/full-codegen.h
|
| index d9090a8dc830137448b9bb4e6ac38f1240316909..f2e39de1ce1316d273d2bceeb0660bc8680530fa 100644
|
| --- a/src/full-codegen.h
|
| +++ b/src/full-codegen.h
|
| @@ -437,12 +437,8 @@ class FullCodeGenerator: public AstVisitor {
|
| // Feedback slot support. The feedback vector will be cleared during gc and
|
| // collected by the type-feedback oracle.
|
| Handle<FixedArray> FeedbackVector() {
|
| - return feedback_vector_;
|
| + return info_->feedback_vector();
|
| }
|
| - void StoreFeedbackVectorSlot(int slot, Handle<Object> object) {
|
| - feedback_vector_->set(slot, *object);
|
| - }
|
| - void InitializeFeedbackVector();
|
|
|
| // Record a call's return site offset, used to rebuild the frame if the
|
| // called function was inlined at the site.
|
| @@ -497,7 +493,6 @@ class FullCodeGenerator: public AstVisitor {
|
| #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \
|
| void Emit##name(CallRuntime* expr);
|
| INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL)
|
| - INLINE_RUNTIME_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL)
|
| #undef EMIT_INLINE_RUNTIME_CALL
|
|
|
| // Platform-specific code for resuming generators.
|
| @@ -561,7 +556,7 @@ class FullCodeGenerator: public AstVisitor {
|
| // Helper functions to EmitVariableAssignment
|
| void EmitStoreToStackLocalOrContextSlot(Variable* var,
|
| MemOperand location);
|
| - void EmitCallStoreContextSlot(Handle<String> name, LanguageMode mode);
|
| + void EmitCallStoreContextSlot(Handle<String> name, StrictMode strict_mode);
|
|
|
| // Complete a named property assignment. The receiver is expected on top
|
| // of the stack and the right-hand-side value in the accumulator.
|
| @@ -607,11 +602,7 @@ class FullCodeGenerator: public AstVisitor {
|
| Handle<Script> script() { return info_->script(); }
|
| bool is_eval() { return info_->is_eval(); }
|
| bool is_native() { return info_->is_native(); }
|
| - bool is_classic_mode() { return language_mode() == CLASSIC_MODE; }
|
| - StrictModeFlag strict_mode() {
|
| - return is_classic_mode() ? kNonStrictMode : kStrictMode;
|
| - }
|
| - LanguageMode language_mode() { return function()->language_mode(); }
|
| + StrictMode strict_mode() { return function()->strict_mode(); }
|
| FunctionLiteral* function() { return info_->function(); }
|
| Scope* scope() { return scope_; }
|
|
|
| @@ -849,7 +840,6 @@ class FullCodeGenerator: public AstVisitor {
|
| ZoneList<BackEdgeEntry> back_edges_;
|
| int ic_total_count_;
|
| Handle<FixedArray> handler_table_;
|
| - Handle<FixedArray> feedback_vector_;
|
| Handle<Cell> profiling_counter_;
|
| bool generate_debug_code_;
|
|
|
|
|