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

Side by Side Diff: src/hydrogen.h

Issue 111613003: Load the global proxy from the context of the target function. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: don't embed global object or receiver in hydrogen Created 7 years 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 2437 matching lines...) Expand 10 before | Expand all | Expand 10 after
2448 HValue* object_elements, 2448 HValue* object_elements,
2449 AllocationSiteUsageContext* site_context); 2449 AllocationSiteUsageContext* site_context);
2450 2450
2451 void AddCheckPrototypeMaps(Handle<JSObject> holder, 2451 void AddCheckPrototypeMaps(Handle<JSObject> holder,
2452 Handle<Map> receiver_map); 2452 Handle<Map> receiver_map);
2453 2453
2454 void AddCheckConstantFunction(Handle<JSObject> holder, 2454 void AddCheckConstantFunction(Handle<JSObject> holder,
2455 HValue* receiver, 2455 HValue* receiver,
2456 Handle<Map> receiver_map); 2456 Handle<Map> receiver_map);
2457 2457
2458 void InstallGlobalReceiverInExpressionStack(int index,
2459 Handle<JSFunction> function);
2460
2458 // The translation state of the currently-being-translated function. 2461 // The translation state of the currently-being-translated function.
2459 FunctionState* function_state_; 2462 FunctionState* function_state_;
2460 2463
2461 // The base of the function state stack. 2464 // The base of the function state stack.
2462 FunctionState initial_function_state_; 2465 FunctionState initial_function_state_;
2463 2466
2464 // Expression context of the currently visited subexpression. NULL when 2467 // Expression context of the currently visited subexpression. NULL when
2465 // visiting statements. 2468 // visiting statements.
2466 AstContext* ast_context_; 2469 AstContext* ast_context_;
2467 2470
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
2639 } 2642 }
2640 2643
2641 private: 2644 private:
2642 HGraphBuilder* builder_; 2645 HGraphBuilder* builder_;
2643 }; 2646 };
2644 2647
2645 2648
2646 } } // namespace v8::internal 2649 } } // namespace v8::internal
2647 2650
2648 #endif // V8_HYDROGEN_H_ 2651 #endif // V8_HYDROGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698